Andrey75
Community Answers
-
Andrey75's post in Scrollsmoother preloader problem was marked as the answer
Thanks for your reply and your participation. I really appreciate this.
"position to fixed" solved the scrolling problem, but did not return the page to top.
This is because scrollsmoother now uses
<div id="wrapper">
<div id="content">
I solved the problem and added
document.body.scrollTop = document.documentElement.scrollTop = 0;