T
TanStack7mo ago
dependent-tan

scrollRestoration issue/question with Start + Router

We have a website which uses TanStack Start and Router and we have scrollRestoration set to true in our router. We noticed in the deployed site sometimes when we navigate to a link in the site it loads the new page but then the scroll is offset lower down on the page, rather than at the top. Example: 1. Load page A. Scroll down. Click link to page B. 2. Page B loads, but already scrolled down, rather than at the top. Is this an issue with our setup?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?