Is your feature request related to a problem? Please describe.
Current implementation changes window.location.hash which pushes state to browser's history. It prevents user of going back by browser's back button.
Describe the solution you'd like
We'd like goToTop to do what it's meant to - scroll the page up. window.scrollTo(0, 0) would solve this.
Is your feature request related to a problem? Please describe. Current implementation changes
window.location.hash
which pushes state to browser's history. It prevents user of going back by browser's back button.Describe the solution you'd like We'd like goToTop to do what it's meant to - scroll the page up.
window.scrollTo(0, 0)
would solve this.