Fixed #885 - Strange behavior using context menu on Safari

pull/889/head
Tuğçe Küçükoğlu 2021-01-26 13:41:23 +03:00
parent 38d1018489
commit db69b9ad63
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ export default {
bindOutsideClickListener() {
if (!this.outsideClickListener) {
this.outsideClickListener = (event) => {
if (this.visible && this.container && !this.container.contains(event.target)) {
if (this.visible && this.container && !this.container.contains(event.target) && !event.ctrlKey) {
this.hide();
}
};