SortableJS: how to sort when a drag operation ends?

33 Views Asked by At

I'm using a library SortableJS to sort a list. By default, sorting is performed immediately when dragging. Сan I change this behavior and do the sorting when the dragging is finished?

new Sortable(list, {
     animation: 150,
     draggable: '.draggable-item',
     forceFallback: true,
     fallbackOnBody: true,
})
0

There are 0 best solutions below