jQuery-contextMenu icon indicating copy to clipboard operation
jQuery-contextMenu copied to clipboard

Browser-native right-click doesn't work, even if trigger is other than right-click

Open lonevvolf opened this issue 12 years ago • 3 comments

From looking at the javascript, it seems that it's intentionally disabling the browser-native right-mouse-click event, even if the contextmenu plugin is using a completely different (even perhaps custom) trigger. I would like the option to leave the browser right-click menu intact, in case another trigger is being used.

In my specific case, we are using a text selection (mousedown, mouseup) to trigger and pop up the context menu, which should not affect the right-click functionality of the browser.

lonevvolf avatar Apr 24 '13 13:04 lonevvolf

Yep, it's intentional. We can change this, though. I'll add it to the list.

rodneyrehm avatar Apr 25 '13 07:04 rodneyrehm

Was there any progress on this since this issue was created? If the menu is set to trigger on a specific call (custom or left click for example), then it should not disable other events too (right).

russelltrafford avatar Oct 19 '18 22:10 russelltrafford

Hmm, when i look at the demo, when the trigger is set to normal click, the right click doesn't get disabled, what specific configuration is giving you issues?

https://swisnl.github.io/jQuery-contextMenu/demo/trigger-left-click.html

bbrala avatar Oct 22 '18 08:10 bbrala