ScrollTop on router changed
Hello guys, is it possible to make page scroll to top every time the router has been changed? I've tried to add window.scrollTo(0,0) on onUpdate Router but it doesnt work Any solution?
Hello guys, is it possible to make page scroll to top every time the router has been changed? I've tried to add window.scrollTo(0,0) on onUpdate Router but it doesnt work Any solution?