You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use useVirtualizer with initialOffset greater than the available scroll area in the scrollElement
Expected behavior
No errors/warning should happen.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
OS: Windows
Browser: Firefox 121.0.1 (64-bit), Chrome 121.0.6167.85
tanstack-virtual version
latest
TypeScript version
No response
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.
The text was updated successfully, but these errors were encountered:
Describe the bug
flushSync warning when calling useVirtualizer with initialOffset greater than available scroll.
Your minimal, reproducible example
https://codesandbox.io/p/devbox/virtualizer-repro-lk332q?file=%2Fsrc%2FApp.tsx
Steps to reproduce
Expected behavior
No errors/warning should happen.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
OS: Windows
Browser: Firefox 121.0.1 (64-bit), Chrome 121.0.6167.85
tanstack-virtual version
latest
TypeScript version
No response
Additional context
No response
Terms & Code of Conduct
The text was updated successfully, but these errors were encountered: