Closed hrosenbauer closed 10 years ago
You can also reproduce the issue by dragging down fast enough to escape the document.body area. If your document.body isn't big enough of an area to capture the mouse events, you end up the cursor location being lost because it isn't inside the body.
Pullrequest was merged in dd6c7420087d5810a9f6b02bf9d81a04a60ae840
$body won't receive mouseup if the cursor is outside the browser window, $document does
Steps to repeat:
Fix: bind the mouse-events to the document so it will receive the mouseup even if the cursor is outside the browser window - this creates a more native drag-n-drop feeling.