You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
scattergl click event not fired when dragmode is 'select' #1870
..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?
Activity
SillyLily0 commentedon Sep 17, 2017
..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?
etpinard commentedon Sep 18, 2017
That's true for all a subplot types, gl or not. To return back to the default click on the
panbutton:SillyLily0 commentedon Sep 18, 2017
Oh, ok I see. Thanks for pointing that out etpinard.
etpinard commentedon Jan 8, 2018
This will be fixed by @dfcreative 's regl-based
scatterglwork.@dfcreative would you mind adding a test case in this suite to lock down
plotly_clickevent behavior underdragmode: 'select'?dy commentedon Jan 16, 2018
091883c adds test of
plotly_clickin lasso/select modes.etpinard commentedon Jan 18, 2018
that's now in #2258