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

Initial render count is wrong when used in Suspense subtree #72

Closed
yunyu opened this issue Oct 11, 2020 · 1 comment
Closed

Initial render count is wrong when used in Suspense subtree #72

yunyu opened this issue Oct 11, 2020 · 1 comment

Comments

@yunyu
Copy link

yunyu commented Oct 11, 2020

This is likely because the useEffect for measuring the initial bounding box is fired when display: none is present on the top-level Suspense: facebook/react#14536

Ideally react-virtual would have a mechanism to force a recalculation in this situation for legacy-mode (default) React renderers.

@tannerlinsley
Copy link
Collaborator

This issue has been automatically closed due to inactivity.

  • If this issue was opened as a "help" ticket, please consider asking your question in the TanStack Discord.
  • If this issue represented an unfulfilled feature request, please start a new discussion instead of an issue.
  • If this issue needs more attention despite its activity, please comment to reopen, or open a new issue with updated information. Thanks!

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

2 participants