#Erratic smooth scroll behaviour in next,js 14 project

4 messages · Page 1 of 1 (latest)

high quarry
#

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!

languid sedgeBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

high quarry
#

Am I allowed to bump?

polar mirage