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
Issue: Unable to Detect Return to Previous Position in Drag-and-Drop
Description
When dragging an item to a new position and then returning it to its original position without releasing the mouse, the active.id becomes equal to over.id, making it impossible to detect the return in the handleDragOver event.
After investigating, I found that the activeIndex does not update when the item's position changes. This results in a failure to capture the moment of returning the item to its original position.
Steps to Reproduce
Drag an item to a new position.
While still holding the mouse button, return the item to its original position.
Observe that active.id now equals over.id, preventing the detection of the return.
Expected Behavior
The activeIndex should update appropriately to reflect the current position of the dragged item, allowing the detection of its return to the original position.
Current Behavior
When returning the item, active.id and over.id are the same, making it difficult to handle the drag-and-drop logic correctly.
Issue: Unable to Detect Return to Previous Position in Drag-and-Drop
Description
When dragging an item to a new position and then returning it to its original position without releasing the mouse, the
active.id
becomes equal toover.id
, making it impossible to detect the return in thehandleDragOver
event.After investigating, I found that the
activeIndex
does not update when the item's position changes. This results in a failure to capture the moment of returning the item to its original position.Steps to Reproduce
active.id
now equalsover.id
, preventing the detection of the return.Expected Behavior
The
activeIndex
should update appropriately to reflect the current position of the dragged item, allowing the detection of its return to the original position.Current Behavior
When returning the item,
active.id
andover.id
are the same, making it difficult to handle the drag-and-drop logic correctly.Using TableHeaderGroup
TableHeaderGroup
The text was updated successfully, but these errors were encountered: