Smooth scrolling between anchor links

What’s the recommended way to add smooth scrolling between anchor links on the same page?

It seems like adding the style to my HTML in CSS didn’t fix the issue… will I need to bypass nextjs link navigation via component? (ref: https://forum.plasmic.app/t/render-plain-anchor-tag-instead-of-next-js-link/4300)

You should be able to just add this in a Custom CSS Embed: https://css-tricks.com/snippets/jquery/smooth-scrolling/

But to this day next JS still has issues with this, it’s an open issue still: https://github.com/vercel/next.js/issues/5136

@yang Thanks! Okay, that makes sense, I couldn’t figure out what was wrong :sweat_smile: