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
If we need to recompute the columns (ie with dependencies in the columns useMemo), the DnD of the rows is working only once.
Here is a forked stackblitz from your demo. It reproduces the bug where I just change the dependencies of the useMemo is order to simulate dynamic columns.
I can make the code work by isolating the action column and adding its reference directly in the dynamic columns' useMemo, but it would be nice not to have this trick.
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
Do you intend to try to help solve this bug with your own PR?
None
Terms & Code of Conduct
I agree to follow this project's Code of Conduct
I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
The text was updated successfully, but these errors were encountered:
TanStack Table version
v8.20.5
Framework/Library version
18.3.1
Describe the bug and the steps to reproduce it
If we need to recompute the columns (ie with dependencies in the columns useMemo), the DnD of the rows is working only once.
Here is a forked stackblitz from your demo. It reproduces the bug where I just change the dependencies of the useMemo is order to simulate dynamic columns.
I can make the code work by isolating the action column and adding its reference directly in the dynamic columns' useMemo, but it would be nice not to have this trick.
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
https://stackblitz.com/edit/github-pcxwxh?file=src%2Fmain.tsx
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
None
Terms & Code of Conduct
The text was updated successfully, but these errors were encountered: