-
-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bug #1041 #1217 #1361
base: v3
Are you sure you want to change the base?
Fix bug #1041 #1217 #1361
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
anybody help with the github actions. It says: Error: The process '/usr/bin/git' failed with exit code 1 |
const draggingRowIndex = useMemo( | ||
() => | ||
draggingRow?.id | ||
? realRows.findIndex((r) => r.id === draggingRow?.id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I personally think there should not use useMemo, because the draggingRowIndex depends on realRows, and the realRows is changing by every render.
As in bug #1041 and #1217 described. When filtered, we cannot just use
draggingRow?.index
forrangeExtractor
, we should find the correct dragging row index in filtered rows.