Skip to content

Conversation

@mogelbrod
Copy link
Contributor

The range state doesn't update in response of changes to size until the layout effect is applied. I don't want to update state within the render function, so adding a guard seems like the best approach.

Fixes #52
Might fix #49

@adbayb
Copy link
Contributor

adbayb commented Aug 26, 2020

@mogelbrod Is it possible to add a test to avoid future regressions ? Thank you

@tannerlinsley tannerlinsley merged commit 856100a into TanStack:master Aug 26, 2020
@tannerlinsley
Copy link
Collaborator

🎉 This PR is included in version 2.2.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

@nx-cloud
Copy link

nx-cloud bot commented Mar 8, 2025

View your CI Pipeline Execution ↗ for commit d5f3dc1.

Command Status Duration Result
nx run-many --target=build --exclude=examples/** ✅ Succeeded 1s View ↗
nx affected --targets=test:sherif,test:knip,tes... ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2025-06-23 16:34:07 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

virtualRow will contain one empty item when size is 0 (since v2.2.4) virtualRow.index is sometimes NaN

3 participants