[Bug]: revalidate
causes page twitching effect while scrolling the page with <ScrollRestoration />
component
#13672
Labels
Uh oh!
There was an error while loading. Please reload this page.
I'm using React Router as a...
library
Reproduction
Actually i was trying to setup page with long table (like scrollable page) that constantly refresh data from loader every
n
ms
by callingrevalidate()
. It works, but usingrevalidate
with<ScrollRestoration />
while scrolling the page causes page twitching.Without
<ScrollRestoration />
component on the page everything is working fine, so i believe this is the bug (i also fixed it)Minimal example here:
https://stackblitz.com/edit/vitejs-vite-hqtvtb4m?file=README.md
Related issue: #12157
System Info
Used Package Manager
pnpm
Expected Behavior
Screen.Recording.2025-05-25.at.15.58.50.mov
Actual Behavior
Screen.Recording.2025-05-25.at.15.58.22.mov
The text was updated successfully, but these errors were encountered: