Scroll Restoration?
I see that Scroll Restoration is not supported in Tanstack Router but it is supported in React Router DOM.
If I try the "Basic" example, I go to "Posts", scroll down a bit, then go to "Home", and then press browser back to go back to the previous "Posts" page, the scroll position is retained.
What does "Not supported" exactly mean in this case? Would it mean if the scrollable view is nested, it wouldn't work? E.g. if the page is rendered in an
Outlet?
Thanks!1 Reply
continuing-cyan•3y ago
I’ll add this soon.
Please make an issue for it in GitHub.