-
Notifications
You must be signed in to change notification settings - Fork 910
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
Slider triggers on drop event in Firefox #6487
Comments
I've investigated this a bit, it looks like this is a bug with every radix-ui slider (not specific to electricitymaps' Notice how if you drag the slider and release over the button to "open in CodeSandbox", the same problem arises. This is not a problem on Chromium indeed. Whether this is a |
I would suggest opening a issue with radix-ui itself I would suggest opening a issue with them (and link it in here) as there is not much we can do if it's a issue in the package. Please double check if there is already an issue open though. |
@VIKTORVAV99, Hello, I have opened radix-ui/primitives#2777 on radix-ui/primitives. I've tried to come up with a solution on my own, or at least a workaround (a patch to be applied on react-slider) but to no avail, yet. Will report back here if anything new happens. |
Thanks, will watch the issue and see what they say! |
Describe the bug
In Firefox the view changes depending on where you drop the slider. If you slide it past the end of the scale at the end it will select the country where you dropped the slider or the overview if you drop it on the ocean
To Reproduce
Steps to reproduce the behavior:
Drag the time slider and drop it either on an ocean on the map or another button (i.e. "12 month")
Video
https://imgur.com/a/oBp7mpz
Desktop (if relevant):
Additional context
Doesn't seem to happen in Edge or Chrome
The text was updated successfully, but these errors were encountered: