Skip to content

Rangeslider and dragmode selection not in sync #3795

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

Closed
mbkupfer opened this issue Apr 20, 2019 · 3 comments · Fixed by #3806
Closed

Rangeslider and dragmode selection not in sync #3795

mbkupfer opened this issue Apr 20, 2019 · 3 comments · Fixed by #3806
Assignees
Labels
bug something broken

Comments

@mbkupfer
Copy link

Bug: Dragmode selections are offset when interacting with the rangeslider. See below screenshot for an example of what I'm referring to.

image

Reproducible example: https://codepen.io/mbkupfer/pen/JVZJzR

@etpinard
Copy link
Contributor

etpinard commented Apr 22, 2019

I'm not sure I understand what you mean by offset. You mean you'd like the selection styles to propagate the range-slider panel?

@mbkupfer
Copy link
Author

mbkupfer commented Apr 22, 2019

@etpinard what I mean is that the selection I make by dragging does not correspond with the visually selected points.

For example, in the screenshot above, my box selection is over the middle bar, yet the bar on the right is getting visually selected.

@mbkupfer
Copy link
Author

Great, thanks for the quick fix. On a related note, is there a setting that increases sensitivity for the select to capture a point? It seems like currently, the trace box must hover roughly half the bar before it becomes selected. Could this be configured to be more sensitive, say, select right when it is touched by the select box. And for groups, could it be set to select all bars in a group together as opposed to individually?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants