-
-
Notifications
You must be signed in to change notification settings - Fork 393
Open
Description
Describe the bug
I'm using useWindowVirtualizer and noticing that on scroll, the list and each visible row re-render on every scroll tick.
Your minimal, reproducible example
https://stackblitz.com/edit/tanstack-virtual-rnakrfql?file=src%2Fmain.tsx
Steps to reproduce
Just scroll the list slightly
Expected behavior
I expect the list won't re-render with every scroll tick and will only re-render when virtual items are added or removed.
How often does this bug happen?
Every time
Screenshots or Videos
Screen.Recording.2025-10-03.at.17.19.00.mov
Platform
OS: macOS
Browser: Chrome
tanstack-virtual version
v3.13.12
TypeScript version
v5.7.3
Additional context
No response
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.
Metadata
Metadata
Assignees
Labels
No labels