Next.js Discord

Discord Forum

Inconsistent scroll position retention issues on Firefox

Unanswered
Tonkinese posted this in #help-forum
Open in Discord
TonkineseOP
I've got a PostList infinite scroll client component on one of my pages. On both chrome and safari there are no issues returning to the scroll position when clicking one of these items, visiting the page, and then navigating back. However on Firefox, some of these items (and I can't seem to figure out any pattern to connect them) cause the scroll position to reset when navigating back. I've checked the console and I can't see any errors throughout the whole navigation process.

0 Replies