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] Issue with #1184 #2319

Open DevilSquirrel opened 1 year ago

DevilSquirrel commented 1 year ago

1184 fix - Prevent click event on fallback if dragged but item not changed position

It will be triggered when you press the left mouse button to start dragging an element, drag it a little and then release it. It will cause the click events of all elements in the entire web page to be invalidated when the element is clicked for the first time.

Is there a better way to avoid these problems? Thanks