Page anchor stops correctly, then the page scrolls down to bottom

Hi!

I have this strange problem with one page navigation where my page anchor takes me to the right section and stops, but after a second the page scrolls automatically down to bottom.

This happens both on desktop and mobile.

What could be the reason behind this?

Cheers!

Hi there,

Thanks for writing in.

Please try correcting your URL first, the Kalenteri menu item is currently linked to http://.com/fi/etusivu/#kalenteri then redirect to http://.com/#kalenteri. Try changing it’s link to just #kalenteri since it’s only linking on same home page.

What I’m seeing is, it loads the page, then redirects the page, and it loads the home page again, then it scrolls. Please note scrolling is done by javascript and javascript only runs after the page is loaded. Hence, you’ll see a slight of delay before it starts scrolling. Hence, you should link it to #kalenter to prevent page reloading and to start scrolling right away after clicking.

Thanks!

Perfect, thanks! I knew it was something stupid and obvious

Super good service! Appreciated!

Glad that we could be of a help :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.