Some folks are using right-click on data points in their apps
See original GitHub issue… and PR https://github.com/plotly/plotly.js/pull/2087 broke that 💣
See https://community.plot.ly/t/plotly-click-event-stopped-firing-after-update-on-right-click/6353 and https://community.plot.ly/t/annotation-right-click/6352.
What should we do?
- Revert #2087 ?
- add a config option that allows
plotly_click
on right-clicks? - anything else?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:16 (9 by maintainers)
Top Results From Across the Web
Is right click on tables bad UX
I think it is a great idea to use right click to context menu. It is a norm in desktop application and I...
Read more >Access system features with right-click
Your mouse and operating system work together to access additional features of your software. Learn how to use the right-click button on your...
Read more >How to troubleshoot right-click not working on Chrome and ...
There may be several reasons why right-click is not working in a browser. We have prepared the tips to help you with fixing...
Read more >How do I disable right click on my web page?
You can do that with JavaScript by adding an event listener for the "contextmenu" event and calling the preventDefault() method: document.
Read more >5 Easy Ways to Right-Click on a Mac
Learn how to right-click on Mac in a few ways. ... which is very helpful because most left-handed people use the mouse with...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I agree with all of these 👍
It’s already on the production (right-click detection using
plotly_click
) and would be nice if we aren’t stuck with Plotly 1.30 forever 😃Config option looks fine for us, however I don’t fully understand the purpose of #2087 . The need for custom contextmenu is obvious, but you can still disable browser’s context menu on plotl’s placeholder and build custom one on right click, as we do. That’s even more powerful if you can use Plotly event with points passed to the handler (necessary for us). Same applies to
plotly_onannotationclick
etc. This gives us a possibility to create a different contextmenu based on what’s clicked.Am I missing something important here?