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.29k stars 3.69k forks source link

[bug] selected items will separat randomly with MultiDrag #2150

Open luyiyilll opened 2 years ago

luyiyilll commented 2 years ago

Describe the bug With MultiDrag activated and select multiple items which are not constant. Drop them randomly. The selected items will separat randomly.

https://user-images.githubusercontent.com/49640561/163399423-6ff5a3b2-921e-4939-b604-bd3b6d938fd6.mp4

To Reproduce Steps to reproduce the behavior:

  1. select elements that are not contiguous
  2. free release

Expected behavior The selected elements should be continuously droped to the target location, instead of separating randomly

Information

Versions - Look in your package.json for this information: sortablejs = ^1.15.0

Additional context Please note that this is not a mandatory issue

Reproduction

eduardozgz commented 1 year ago

I have exactly this issue, sometimes they are placed correctly, and sometimes some of them are placed randomly in other parts of the list