generated from Tahul/vue-composable-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
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
console.log('pan-item drag', state.event.type, state.down, state);
result:
pan-item drag pointermove true {hovering: false, scrolling: false, wheeling: false, dragging: true, moving: false, …}
Other info: I have the axis locked to 'x'
Metadata
Metadata
Assignees
Labels
No labels