I created a portfolio using a tutorial on Locomotive Scroll, and then I added a button using JavaScript to go to the top of the page; however, the button does not work.
How can I implement smooth scrolling while using Locomotive Scroll?
I have already tried using scroll.stopPropagation()
at the bottom of Locomotive Scroll.