Skip to content
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

autoResetExpanded not reset the expanded state on data change in V8 #5801

Open
2 tasks done
trend-alan-bie opened this issue Nov 12, 2024 · 0 comments
Open
2 tasks done

Comments

@trend-alan-bie
Copy link

TanStack Table version

V8.20.5

Framework/Library version

18.3.1

Describe the bug and the steps to reproduce it

The autoResetExpanded can not reset the expanded state even if I set this flag to true.
The below example is a copy of the official document. I even changed the expanded state to uncontrol mode(the table maintains the state)
After expanding some rows and clicking the refresh data button, the expanded rows can not be reset.

Worked in V7: https://codesandbox.io/p/sandbox/trusting-framework-qhl8rl?file=%2Fsrc%2FApp.js%3A37%2C10

Not work in V8: https://codesandbox.io/p/devbox/flamboyant-blackburn-2ctj8j?file=%2Fsrc%2Fmain.tsx%3A130%2C29&workspaceId=52d5059b-b49f-4b59-913f-c07fb465ad14

Your Minimal, Reproducible Example - (Sandbox Highly Recommended)

https://codesandbox.io/p/devbox/flamboyant-blackburn-2ctj8j?file=%2Fsrc%2Fmain.tsx%3A130%2C29&workspaceId=52d5059b-b49f-4b59-913f-c07fb465ad14

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

  • 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.
@trend-alan-bie trend-alan-bie changed the title autoResetExpanded not reset the expanded state on data chagne in V8 autoResetExpanded not reset the expanded state on data change in V8 Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant