I currently have a jQuery UI sortable element and I set the revert option to 1000 for a smooth but not too fast animation. While the animation works fine, it seems like I cannot drag during the animation.
I made a simplified version on jsFiddle: http://jsfiddle.net/bA7Dk/. When dragging the 1 somewhere and releasing the mouse, it isn’t until the animation has completed that you can drag the 2.
Is there any way to enable dragging during the animation?
I sorted it out by altering
jquery.ui.sortable.js:Add this as an property to
$.widget(where all functions are added as well):Modify inside
_mouseStop:to
Modify inside
_mouseCapture:to