We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fd65a8 commit 2c4a7feCopy full SHA for 2c4a7fe
contextMenu.js
@@ -510,7 +510,7 @@
510
}
511
512
function removeAllContextMenus(e) {
513
- $document.find('body').off('mousedown', removeOnOutsideClickEvent);
+ $document.find('body').off('mousedown touchstart', removeOnOutsideClickEvent);
514
$document.off('scroll', removeOnScrollEvent);
515
$(_clickedElement).removeClass('context');
516
removeContextMenus();
@@ -579,7 +579,7 @@
579
580
581
// Remove if the user clicks outside
582
- $document.find('body').on('mousedown', removeOnOutsideClickEvent);
+ $document.find('body').on('mousedown touchstart', removeOnOutsideClickEvent);
583
// Remove the menu when the scroll moves
584
$document.on('scroll', removeOnScrollEvent);
585
0 commit comments