Skip to content
This repository was archived by the owner on Aug 14, 2021. It is now read-only.

"Standard" browser context menu appears if right clicking on context menu #25

Closed
phill-85 opened this issue Jun 5, 2013 · 2 comments
Closed

Comments

@phill-85
Copy link

phill-85 commented Jun 5, 2013

Chrome 27 on Ubuntu

On the demo, right click on one of the elements with the context menu attached. The jquery-ui-contextmenu appears. Right click on this menu, and the browsers context menu shows.

In my opinion, this shouldn't happen. Perhaps the contextmenu can catch the contextmenu (or the taphold) even and return false

@mar10
Copy link
Owner

mar10 commented Jun 5, 2013

This seems to be the standard behavior of http://jqueryui.com/menu/ , I am not sure if the jQuery UI team had a reason for it.
However, it may be an option to add (e.g.preventContextMenuForPopup)

@tponthieux
Copy link

I would like the existing behavior to be preserved. If I have a menu option that redirects a user to a url, I would like them to be able to right click that option and choose to open the link in a new tab or window. This would only be useful with a meaningful href attribute instead of #cmd, but it is a simple change and I made a pull request for it (#34).

@mar10 mar10 closed this as completed in 7ae7d2b Mar 9, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants