fixed default right click behaviour
This commit is contained in:
1 parent
ba7454da11
commit
40cc81077f
3 files changed
+3
No files matched your search
@@ -447,6 +447,7 @@
|
||||
},
|
||||
showContextMenu (e, item) {
|
||||
if (!this.contextMenu.shown) {
|
||||
e?.preventDefault();
|
||||
this.contextMenu.shown = true;
|
||||
this.contextMenu.x = e?.clientX || e?.pageX || window.screenX / 2;
|
||||
this.contextMenu.y = e?.clientY || e?.pageY || window.screenY / 2;
|
||||
|
||||
Reference in new issue
Block a user