Open
Description
Describe the bug
We're experiencing an issue that when scrolling back up you get stuck on a item, when using dynamic sizes.
It can easily be reproduced by scrolling a bit down in the dynamic vue example and then trying to scroll back up.
I've tried to find the cause for this but have been unable to
Your minimal, reproducible example
https://tanstack.com/virtual/latest/docs/framework/vue/examples/dynamic
Steps to reproduce
- Go to https://tanstack.com/virtual/latest/docs/framework/vue/examples/dynamic
- Scroll a bit down
- Try to scroll up slowly
Expected behavior
I'm expecting to be able to scroll up
How often does this bug happen?
Every time
Screenshots or Videos
bug.mp4
Platform
macOS Sequoia 15.4.1 - Chrome 137.0.7151.104
tanstack-virtual version
3.13.11
TypeScript version
No response
Additional context
If you scroll fast it tends to work better, but we're using this on mobile and the users do slow scrolls/swipes back up
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