SortableJS / Sortable

Reorderable drag-and-drop lists for modern browsers and touch devices. No jQuery or framework required.
https://sortablejs.github.io/Sortable/
MIT License
29.78k stars 3.7k forks source link

[bug] Autoscroll example doesn't work #2306

Open Shtille opened 1 year ago

Shtille commented 1 year ago

An example provided for Autoscroll plugin doesn't work: https://jsbin.com/xecihez/edit?html,js,output

View is not being scrolled when drag item up or down.

jannes-io commented 9 months ago

@Shtille If the list isn't scrollable, then no auto scrolling will be done.

To fix in your example:

- style="overflow: hidden; height: 300px;"
+ style="overflow: auto; height: 300px;"