ducksboard / gridster.js

gridster.js is a jQuery plugin that makes building intuitive draggable layouts from elements spanning multiple columns
http://gridster.net/
MIT License
6.03k stars 1.2k forks source link

stop dragging when mouse leaves body #348

Closed hrosenbauer closed 10 years ago

hrosenbauer commented 10 years ago

When the user drags a widget and leaves and re-enters the body with the cursor (e.g. by leaving the window), the dragged widgets position is asynchronous to the cursor. Dropping the widget at the current placeholder position when this happens gives a more natural drag and drop feeling.

hrosenbauer commented 10 years ago

This isn't needed if we use https://github.com/ducksboard/gridster.js/pull/349