SortableJS/Sortable

when I use `forceFallback:true` but it doesn't work with 'scroll-behavior: smooth ' css-style in it's parent

Open

#1.781 geöffnet am 30. März 2020

Auf GitHub ansehen
 (1 Kommentar) (1 Reaktion) (0 zugewiesene Personen)JavaScript (3.731 Forks)batch import
help wanted

Repository-Metriken

Stars
 (30.389 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

@mgnjatovic-kushim Try setting the option forceFallback:true. HTML native DnD has it's own autoscroll method that doesn't work the same as the implemented autoscroll.

Originally posted by @owen-m1 in https://github.com/SortableJS/Sortable/issues/1373#issuecomment-438233981

In this code https://jsbin.com/kesewor/edit?html,js,output

add css style

.smaller {
    scroll-behavior: smooth;
}

when it doesn't work..

Contributor Guide