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
A more comprehensive fix is included in #175, but since the fix is not dependent on the rest of the changes in #175 I might just pop it out of there and make another PR for that.
I took the example code and modified it a little bit, using modern Javascript patterns:
The behavior I can observe is that the drag 'n drop only works in the first drag. Then, I can no longer drag the box.
I added some logs to see what was going on and what I get is:
mousemove
event continues to be fired after themouseup
event happens (what I would expect, because it's bound to thedocument
.on
callback is executed only once.I guessed I was doing something wrong, so I copy/pasted the example code, but the behavior was still the same.
What exactly is wrong here?
The text was updated successfully, but these errors were encountered: