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
melloware
added
Type: Bug
Issue contains a defect related to a specific component.
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Aug 6, 2024
Describe the bug
If you try to drop the last row right below the pre last row you will get wrong dropIndex.
Reproducer
https://stackblitz.com/edit/optnbv?file=src%2FApp.jsx
System Information
primereact: 10.8.0
react: 18.3.1
Steps to reproduce the behavior
Go to the section Reorder of DataTable in official documentation. Try to move the last row right below the pre last one.
You will get dropIndex: 3 and data will be reordered.
Expected behavior
dropIndex is 4 and data is unchanged.
The text was updated successfully, but these errors were encountered: