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
This touchend event listener is not removed in handleMouseUp, which causes handleMouseUp to fire any time the user touches anything on the document after they use the slider for the first time.
This is not a v0.x issue.
I have searched the issues of this repository and believe that this is not a duplicate.
Expected Behavior
after using a slider, dragStopEnd should not be triggered by touching another part of the screen
Commenting the pull request so there is a comment icon increasing the chances someone will scroll to the bottom to see that a pull request to fix this is already in. Just to potentially save someone some work, lol.
This is for mobile only (or via responsive device emulation in browser dev tools).
Line 291, a touchend event listener is added via handleTouchStart.
This touchend event listener is not removed in handleMouseUp, which causes handleMouseUp to fire any time the user touches anything on the document after they use the slider for the first time.
Expected Behavior
after using a slider, dragStopEnd should not be triggered by touching another part of the screen
Current Behavior
dragStopEnd is triggered for any touch event.
Steps to Reproduce
Link: https://codesandbox.io/s/4wp7k6l640
Context
This is a breaking bug on mobile for obvious reasons.
Your Environment
The text was updated successfully, but these errors were encountered: