Nav anchor link scrolling not scrolling to proper section on large screen breakpoints

I have a nav with anchor links that scroll to its respective section when clicked. It works perfectly on the base desktop breakpoint and below; however it does not scroll to the top of the section when on large breakpoints (1280px +).

Am I doing something wrong? I do not have any custom code on the site.

screencast: Screen Recording 2020-09-21...


Here is my public share link: LINK

1 Like

Hey Aalok,

It seems, judging from the public share link you gave, that in the meantime you managed to solve this problem! I checked and it worked on the highest breakpoint.

As I have the exact same problem as you, could you tell how you did it ?

Thanks a lot !

Nevermind, I managed to find the bug in the meantime. For me it was that on bigger breakpoint I had set a z-index of -1 on the nav menu. I’ve reset it back to auto instead, and it worked all of a sudden.

Cheers!

Any solve to this??

I have the same issue, I’ve not seen any solution to this as of now, IDK if it’s the Section set to a certain value (Relative, static or whatever…) but I’m also presenting this issue…

Tried this but no solve…

My site:
https://preview.webflow.com/preview/aumoksha-io?utm_medium=preview_link&utm_source=designer&utm_content=aumoksha-io&preview=092c1bb7d51aeb577c07d55a906d2c22&workflow=preview