diff --git a/Sortable.js b/Sortable.js index a6266ca..4119d97 100644 --- a/Sortable.js +++ b/Sortable.js @@ -365,7 +365,7 @@ scrollEl = options.scroll; if (scrollEl === true) { - scrollEl = dragEl; + scrollEl = rootEl; do { if ((scrollEl.offsetWidth < scrollEl.scrollWidth) ||