Skip to content

Commit

Permalink
Fixed #885 - Strange behavior using context menu on Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Jan 26, 2021
1 parent 38d1018 commit db69b9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/contextmenu/ContextMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
};
Expand Down

0 comments on commit db69b9a

Please sign in to comment.