Open ruixingshi opened 4 weeks ago
The multiple selections index has not changed
The multiple selections index has been moved down
https://github.com/user-attachments/assets/ec8c8abb-7a5c-4400-92d7-316056fcae32
Optimize the calculation logic in reorderMultiDrag
React
16.13.1
react-beautiful-dnd
13.1.1
Chrome
Can reproduce at https://react-beautiful-dnd.netlify.app/?path=/story/multi-drag--pattern
Solve PR: https://github.com/atlassian/react-beautiful-dnd/pull/2661
Expected behavior
The multiple selections index has not changed
Actual behavior
The multiple selections index has been moved down
Steps to reproduce
https://github.com/user-attachments/assets/ec8c8abb-7a5c-4400-92d7-316056fcae32
Suggested solution?
Optimize the calculation logic in reorderMultiDrag
What version of
React
are you using?16.13.1
What version of
react-beautiful-dnd
are you running?13.1.1
What browser are you using?
Chrome
Demo
Can reproduce at https://react-beautiful-dnd.netlify.app/?path=/story/multi-drag--pattern