Magic Scroll breaking browser’s “go back” navigation previous scroll position

[ad_1]

When using Magic Scroll inside a page, the default browser functionality for keeping the scroll position, when navigating back from a page, breaks.

For example, my front page has a section which uses magic scroll. Whenever I click any link (not necessarily in the same section where the magic scroll is) and get redirected to a different page, and then try to go back, I am no longer positioned in the front page where I clicked the link, but instead, the scrolling position stays at the top.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer