plotly_doubleclick not firing when dragmode not in [zoom, pan, orbit, turntable, False]
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
The 'plotly_doubleclick' event fires correctly only when dragmode is set to one of 'zoom' | 'pan' | 'orbit' | 'turntable' | false.
With any other values (select, lasso, drawclosedpath, drawopenpath, drawline, drawrect, drawcircle all tested), it won't fire except if you dblclick on the axes.
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
Reproduce the behavior using the linked CodePen and compare plotly_doubleclick with each listed dragmode value. Start by tracing the plotly_doubleclick event handling and dragmode interaction in plotly.js. Done means the event fires consistently for select, lasso, and the listed draw modes, including double-clicks away from the axes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 42/100