angular-ui / ui-sortable

jQuery UI Sortable for AngularJS
http://angular-ui.github.io/ui-sortable/
MIT License
1.26k stars 444 forks source link

Vertical scroll jumps on drag element on the bottom of a page #495

Closed krzysiek-kr closed 7 years ago

krzysiek-kr commented 7 years ago

It occur when an array of sortable elements is long enough that vertical scroll appears. If You scroll down the page to the bottom and drag one of the elements the scroll makes some jump. I think it is caused by that first of all the dragged element is removed from DOM and length of the page is decreased so the vertical scroll jumps and than the placeholder is added and the page length returns to its previous value but the vertical scroll stay at its current position.

thgreasi commented 7 years ago

I think that this one is already answered and is not related with this library but is a jquery-ui issue. Feel free to reopen in any case.