You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encounter an issue when sorting elements within a div that uses the flex-wrap class. I am utilizing rectSortingStrategy in strategy property of SortableContextand closestCenter in collisionDetection property of DndContext.
The relevant code can be found here for reference.
The issue arises when attempting to drag the "Age" element next to the space of the "Telephone Number" element. Instead of being placed after "Telephone Number", it is positioned before it. To achieve the intended behavior, the "Age" item needs to be placed in front of the "Description" item, after which it will display correctly next to "Telephone Number".
A similar issue occurs when attempting to move the "Name" element to the end of the list, after the "Information" item.
Any assistance or guidance on resolving this issue would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
I encounter an issue when sorting elements within a
div
that uses theflex-wrap
class. I am utilizingrectSortingStrategy
instrategy
property ofSortableContext
andclosestCenter
incollisionDetection
property ofDndContext
.The relevant code can be found here for reference.
The issue arises when attempting to drag the "Age" element next to the space of the "Telephone Number" element. Instead of being placed after "Telephone Number", it is positioned before it. To achieve the intended behavior, the "Age" item needs to be placed in front of the "Description" item, after which it will display correctly next to "Telephone Number".
A similar issue occurs when attempting to move the "Name" element to the end of the list, after the "Information" item.
Any assistance or guidance on resolving this issue would be greatly appreciated.
The text was updated successfully, but these errors were encountered: