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

The page is not started at the top when navigating to a page that uses @tanstack/virtual >= v3.0.0-beta.61 #646

Open
2 tasks done
meotimdihia opened this issue Jan 16, 2024 · 0 comments

Comments

@meotimdihia
Copy link
Contributor

meotimdihia commented Jan 16, 2024

Describe the bug

The page is not started at the top when navigating to a page that uses @tanstack/virtual >= v3.0.0-beta.61.
It looks like this commit is the problem: #592

Your minimal, reproducible example

https://codesandbox.io/p/devbox/next-js-react-virtual-wzxqt4?file=%2Fapp%2Fpage.tsx

Steps to reproduce

  1. Scroll Down
  2. click to link Dashboard
  3. BUG: the page is not started from the top

Expected behavior

the page should be started at the top.

Screen.Recording.2024-01-16.at.10.52.33.mov

How often does this bug happen?

None

Screenshots or Videos

No response

Platform

  • Linux, macOS
  • Chrome

tanstack-virtual version

= v3.0.0-beta.61

TypeScript version

5.2.2

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.
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

1 participant