-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Tools (e.g. select) should not execute on contextmenu #248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Can I ask you why? |
I'd like to create a custom popup menu on right-click (contextmenu event) |
@joshua-gould I labelled this issue with the |
Hi, guys. I pulled pr about context menu. When {rightClick: false} is in options, then 'contextmenu' event will be fired on element and default browser menu prevented. Please take a look at https://github.com/AlexVvx/plotly.js/pull/1/files |
@AlexVvx interesting, thanks for the PR! I wonder though if there isn't a simpler solution - we probably don't really want to trigger I haven't looked at browser support of the button attributes - note that we target IE9+ in addition to current versions of Chrome, FF, Edge, and Safari. Touch interactions are an interesting case, you generally get |
Sounds good, applied changes in new pr |
All tools (e.g. select) have their click handler invoked when right-clicking.
The text was updated successfully, but these errors were encountered: