Using sort: false with multiple
sinnbeck opened this issue · 3 comments
Describe the bug
If you have 2 sortable areas with the multiple plugin and the first has sort: false, it still sorts the first if you drag from the first box, and back but dont select the first item
To Reproduce
Steps to reproduce the behavior:
- Select item 1 and 2 in the example
- Drag from item 2 into the second list
- Drag back to the original list
- The items are now swapped
Expected behavior
I would expect the first list to keep the old the order
Information
sortablejs = 1.15.2
Additional context
Add any other context about the problem here.
Reproduction
https://jsbin.com/nomeyixera/edit?js,output
Edit: Fun thing is that is seems to work on second drag. If I deselect everything and try again, it works as expected..
not sure if I am going crazy but using your jsbin example I couldn't reproduce the issue. Can you confirm what browser?
Edit: I am using Firefox V.125
I couldn't reproduce either. (Edge - Version 124.0.2478.67 x64)
Funny thing is, when I started swapping really fast, I end up breaking it every time to where you can move the selected items anymore. You can select other items and move them, but the items that were selected when it originally breaks are immovable.
Hm weird. I am certain I checked it multiple times and was able to recreate it. I will close this for now and reopen if I find out how I was able to break it