Hello,
I'm using a One-Page site (Canvas 7.2.2), with a single menu to scroll to the sections of the page. See below:
- [Home](#slider)
- [Overview](#section-overview)
- [Features](#section-features)
- [Blog](#section-blog)
Works like a charm.
But I also have additional subpages (for each blog post), and I want the user to be able to return to the main page directly to a section.
I use the menu below (links to homepage + hash to the right section), with some javascript to get the hash from the URL and link to the right section.
- [Home](/#slider)
- [Overview](/#section-overview)
- [Features](/#section-features)
- [Blog](/#section-blog)
Here is my problem: less than 1 sec after returning to the homepage and the right section, the page scroll up to the top then scroll down again.
How to avoid the unwanted scroll up effect? What is the native function in the template that produces this automatic scroll up?
Thanks for your help.
Regards.
