-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Drag continues when pointer is up #20
Comments
In addition to the above I also tried the following: Added
But I only get the logs from handlePointerUp when the drag behaves correctly. |
Hello,
I am using useDrag.
So far only been testing on desktop.
I notice quite frequently that if i lift the mouse button (well trackpad non pressed) the drag continues to function.
Further to that this can happen on multiple drag elements where if they get in this state moving pointer from one to another each will still continue their drag without the pointer being down.
I log the state event.down and state.down, and the down is still true in the state so even tho I am handling a "cancel" bassed on state.down it doesnt work because its the down that is getting stuck
Other info: I have the axis locked to 'x'
The text was updated successfully, but these errors were encountered: