You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tested this on an Ubuntu machine. The element which triggers contextmenu on right click was selected / focussed. Then pressed the menu button. Browser's contextmenu opens, not bootstrap-contextmenu.
I digged in a bit more and 'contextmenu' event is tiggered on pressing menu key. So it would seem bootstrap-contextmenu is somehow missing that event? If no, I would appreciate any advice with regards to what could be wrong / how can I debug this in my setup.
The text was updated successfully, but these errors were encountered:
I currently don't have access to such key. I believe when the context menu is triggered by a keyboard input, the event is usually triggered on document element. Can you set the document as the context and check if the plugin context menu opens?
So I did $(document).contextmenu({target: '#contextmenu'}). I believe that's what you meant by setting document as the context. It works - pressing menu key opens bootstrap-contextmenu. But now right clicking anywhere in the document opens bootstrap-context menu. I want to open bootstrap-contextmenu only when clicking on particular elements. How do I do that?
Menu key - http://en.wikipedia.org/wiki/Menu_key.
Tested this on an Ubuntu machine. The element which triggers contextmenu on right click was selected / focussed. Then pressed the menu button. Browser's contextmenu opens, not bootstrap-contextmenu.
I digged in a bit more and 'contextmenu' event is tiggered on pressing menu key. So it would seem bootstrap-contextmenu is somehow missing that event? If no, I would appreciate any advice with regards to what could be wrong / how can I debug this in my setup.
The text was updated successfully, but these errors were encountered: