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

Maximum update depth exceeded when hide virtualize table #5537

Open
2 tasks done
XDean opened this issue May 10, 2024 · 0 comments
Open
2 tasks done

Maximum update depth exceeded when hide virtualize table #5537

XDean opened this issue May 10, 2024 · 0 comments

Comments

@XDean
Copy link

XDean commented May 10, 2024

TanStack Table version

v8.16.0

Framework/Library version

v18.3.0

Describe the bug and the steps to reproduce it

Please see the codesandbox, it was forked from offical example dynamic virtualized rows

Just click the hide button, then React maximum update depth execeeded will happen.

The only code change is the BugApp component, it wrap the origin App and provde a button to toggle style to display: none.

This issue can't reproduce when only use @tanstack/virtualize, see this codesandbox. This is also forked from offical example.

Your Minimal, Reproducible Example - (Sandbox Highly Recommended)

https://codesandbox.io/p/devbox/nice-shannon-spvxpx

Screenshots or Videos (Optional)

image

Do you intend to try to help solve this bug with your own PR?

No, because I do not know how

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.
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