Skip to content
Source
Sign inSign up
TanStack/table

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

Closedtrend-alan-bie(GitHub profile, opens in a new tab) opened this issue 1 comment

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

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.
  1. KevinVandy closed this

Sign in to join this conversation.