-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
scattergl click event not fired when dragmode is 'select' #1870
Comments
..probably somehow related to this issue: using scatterGL, the default dragmode is set to 'zoom', hence plotly_click events are fired, everything works fine, then I change dragmode to lasso by clicking the lasso icon in the toolbar, dragmode changes to 'lasso', everythings works as expected, plotly_selected is fired instead of 'plotly_click'. However, I would expect to untoggle the lasso mode by again clicking the lasso toolbar icon but it doesn't. In fact, checking the gl2d code it looks like there is no difference between toggling the incon on or off. Would be nice, if untoggling the lasso icon would set the dragmode back to default. Do you agree or am I missing something? |
Oh, ok I see. Thanks for pointing that out etpinard. |
This will be fixed by @dfcreative 's regl-based @dfcreative would you mind adding a test case in this suite to lock down |
091883c adds test of |
that's now in #2258 |
see this example and change the plot type from 'scatter' to 'scattergl' and you'll see that plotly_click event is not fired when in selection tool
https://codepen.io/plotly/pen/Obxbdv
although it does work on svg 'scatter' plot
The text was updated successfully, but these errors were encountered: