Drop method triggering issue
max-min-max opened this issue · comments
quguocai commented
drop method; Why is it executed twice when dragging is completed
mfuu commented
If the drop list is different from the start, both lists are triggered once.
Muhammed Raihan P A commented
drop method; Why is it executed twice when dragging is completed
You can actually check the event.oldIndex and event.newIndex.
the list from which the item is dragged will be having event.newIndex = -1, and list which the item is dragged to will have event.oldIndex =-1