I develop a two-list draggable component. If I firstly drag one element called 'A' from list1 to the last position of list2 and drag another element called 'B' from list1 also to the last position of list2 under 'A', 'B' will end up in the second last position incorrectly and 'A' is exchanged to the last position automatedly. However, if I drag 'A' to another position of list2 after the first drag, 'B' works correctly.
Without any other changes, I am sure that 'B' gets the right index of list2. But 'B' still ends up in the wrong position.
Is there anyone who meets a similar bug?
Thanks for your help.
I develop a
two-list
draggable component. If I firstly drag one element called 'A' from list1 to the last position of list2 and drag another element called 'B' from list1 also to the last position of list2 under 'A', 'B' will end up in the second last position incorrectly and 'A' is exchanged to the last position automatedly. However, if I drag 'A' to another position of list2 after the first drag, 'B' works correctly.Without any other changes, I am sure that 'B' gets the right index of list2. But 'B' still ends up in the wrong position.
Is there anyone who meets a similar bug? Thanks for your help.