Erratic smooth scroll behaviour in next,js 14 project
Unanswered
Ocicat posted this in #help-forum
OcicatOP
Hello everyone,
This is my first Next.js project. I have a landing page with different sections that the user can scroll to. Smooth scroll is enabled, and at first, everything works fine. After a few times - and I've witnessed this behavior both on Chrome and on Edge - smooth scrolling stops working, and it jumps straight to the desired section. If I refresh the page, it goes back to normal, so I suspect, but can't be sure, it might have something to do with the cache.
Anyway, does anybody have an idea of what the problem is and how to solve it?
Thanks in advance for your time and patience.
Cheers!
This is my first Next.js project. I have a landing page with different sections that the user can scroll to. Smooth scroll is enabled, and at first, everything works fine. After a few times - and I've witnessed this behavior both on Chrome and on Edge - smooth scrolling stops working, and it jumps straight to the desired section. If I refresh the page, it goes back to normal, so I suspect, but can't be sure, it might have something to do with the cache.
Anyway, does anybody have an idea of what the problem is and how to solve it?
Thanks in advance for your time and patience.
Cheers!
3 Replies
OcicatOP
Am I allowed to bump?
American black bear
once a day iG
OcicatOP
Bumping yet again!