JqueryUI sortable failed with scrolling
问题 I'm using jqueryUI sortable in my application so I have following problem: jsFiddle As you can see on this fiddle when you clicked on scrollbar sortable item is dragged and there are no way to drop it. What I want to do is prevent dragging element when it's scrolled. What I just do is searched events of sortable element, and try prevent scrolling but this doesn't work as I want. Any help would be appreciated. 回答1: You could create an inner-div with width and height 100% which you define as