Repository navigation
Add dragmode: false - #3170
Add dragmode: false#3170
Conversation
|
Thanks very much for this PR and let me apologize for the delayed response (our 1.42.0 release cycle was a little hectic). Could you confirm that hover still works when |
|
Sorry, I was away last week. Yes, hover still works in |
|
Thanks @jonfunkhouser ! I wonder if we could do better. By dragging we effectively halt hover and the hover labels (if any) remain in place. Maybe instead we could treat mouse "drag" as a mouse "move" under Regardless, we'll need to add a test to 🔒 down the hover on |
|
Yes, I'll add a test for that case. I'll also investigate your suggestion, it makes a lot of sense. |
‘mousemove’ events should emit ‘plotly_hover’ events
|
Brilliant PR, this will be part of our next minor release. |

This PR adds the
dragmode: falsefunctionality mentioned in #2844 (comment)I added an example chart with this setting to my existing sample, so this can be previewed on mobile devices: https://jonfunkhouser.github.io/plotly-mobile/