add option to disable right mouse button events (specifically RMB drag)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
There is an existing bug report (that for some reason did not get any traction): #5311
If fixing this issue specifically is far out of current roadmap or too complex - maybe it would be possible to add an option to disable right mouse button interactions altogether?
I've spent some hours trying to ignore various events (mouseup, oncontextmenu) for my plot and its parent components
but was not able to stop Plotly from interacting with right mouse button drag.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked issue #5311 and reproducing the right-mouse-button drag behavior in Plotly.js. No source file or test is identified in the report, so locate the interaction-handling entry point before defining the option; done should mean right-button interactions can be disabled without changing other mouse interactions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100