Open h5aaimtron opened 4 years ago
I did some more tests and its any item other than the one with the lowest index that gets the weird index. I tried sorting 3, 5, 7, 8, and 10 which resulted in 10 being the odd one out by the number of items ahead of it so its 4 back from the first 4.
A JSBin would be very helpful
Problem:
If you use MultiDrag with a grid layout of the items and you select non-consecutive items, but drag from the last item to the beginning of the list, the last item always gets placed a few items away from the other items.
JSBin/JSFiddle demonstrating the problem:
Don't have one yet
Before you create an issue, check it:
Bindings:
Support screenshots:![image](https://user-images.githubusercontent.com/26209077/74964450-4c7c4a80-53c8-11ea-905d-840993f718da.png)
I selected in the following order: 9, 7, 6 then I start my drag from 9 to the beginning of the list with the following result:![image](https://user-images.githubusercontent.com/26209077/74964558-7afa2580-53c8-11ea-976b-5b51ad40bfaf.png)
but 9 should be directly behind 7. It works perfectly if I drag from item 6 to the beginning though.