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.43k stars 3.7k forks source link

[bug] Move item to list, end drag event outside list -> wrong animation #2210

Closed frenkel closed 1 year ago

frenkel commented 1 year ago

First of all, thanks for building this. It is one of the easiest drag libraries to get working without problems!

I found one minor issue. In the demo page you can easily see what I mean:

https://user-images.githubusercontent.com/121169/191938460-5c33260f-608f-4893-b001-9bc10e3adf2d.mov

The white item 3 that is being dragged should show an animation moving back to the new position, not to the old position. How can I fix this or how can I disable this animation?

jembezmamy commented 1 year ago

It seems this issue is MacOS specific and is solved here: https://github.com/SortableJS/Sortable/issues/1816

frenkel commented 1 year ago

@jembezmamy thank you, will have a look!