Scroll to section from navigation header is not working

Hi there!

I have a problem with scroll to section, it will not scrolling to the section I clicked.

Case:
I clicked on the big menu navigation, which have this url link, but after I clicked it, the address bar is showing the url with slash and make the scroll section is not working :confused:

If you want to test, the site link is here
Please help me, your answer is really helpful. thanks!

Hi @briyadi

Are you using the <Link /> component for those in-page anchor links.

If so I don’t think there’s any need to. Anchor links don’t cause a page load in the way that other links do so the SPA behaviour of your app will be unaffected if you create the anchor links in the normal way, e.g.

<a href="#cloud-desktops">Cloud Desktops</a>

Thanks for your reply.

And now it’s work! Thank you! :star_struck: