Fixed #885 - Strange behavior using context menu on Safari
parent
38d1018489
commit
db69b9ad63
|
@ -137,7 +137,7 @@ export default {
|
||||||
bindOutsideClickListener() {
|
bindOutsideClickListener() {
|
||||||
if (!this.outsideClickListener) {
|
if (!this.outsideClickListener) {
|
||||||
this.outsideClickListener = (event) => {
|
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();
|
this.hide();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue