Open hybridherbst opened 2 years ago
Do you have examples of other times this can happen?
As far as I'm aware, the lib listens for all of the relevant events that should end a drag - blur
, pointerup
, pointercancel
and the mouse and touch equivalent when appropriate.
It also happens when
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.
This issue is still present.
Those demos are in iframes, so there's no mouse up coming from the parent window when you click the scrollbars. If they weren't in the iframe, I think it wouldn't be so bad. I don't think there's much that can be done about this issue on WIndows. Have you checked what happens with other drag and drop libs when they're in iframes?
Expected behavior
Dragged objects should only ever follow the mouse if the mouse is clicked. However, it seems that certain interactions (such as taking a screenshot while dragging) will put the object into an incorrect state where it's dragged around despite the mouse not being clicked.
Actual behavior
Object is "stuck" to mouse despite no click
System configuration
interact.js version: latest Browser name and version: Chrome, Firefox Operating System: Windows
Additional Info