Router + Virtual persists scroll positions between route navigations

https://github.com/kylekz/tss-scroll-restoration

1. go to /
2. scroll down the page a bit
3. click on "test 123" or "test abc"
4. see how the page is scrolled down rather than navigated to 0,0

in my actual app, it'll do this when navigating between two routes with virtualizers, but not here for some reason. only when going from a route without a virtualizer to a route with one, kind of like as if scrollRestoration was disabled
tried setting scrollToTopSelectors which didn't work.
Was this page helpful?