zillow / react-slider

Accessible, CSS agnostic, slider component for React.
https://zillow.github.io/react-slider
MIT License
891 stars 232 forks source link

When dragging beyond minimum value, value resets to max if mouse moves outside window #204

Closed digiperfect-janak closed 3 years ago

digiperfect-janak commented 3 years ago

Attaching a GIF that displays this issue. Issue occurs only when dragging beyond minimum value and when cursor moves outside of the window (dragging beyond maximum value has no issues). Issue can be seen on any of the examples in the official examples page. Tested in Chrome 86.0.4240.183

Update: Interestingly enough, the same issue occurs with native HTML range input. Am not sure if it is related and if there is a workaround.

slider-mouse-moving-outside-window

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.