Closed ieozt38 closed 4 years ago
On Safari code below doesn't scroll to the top of the page however on other browsers it does. When I delete smooth-scrolling, it scrolls back to the top. (Angular 10) script added in index.html.
window.scrollTo({ behavior: 'smooth', top: 0, left: 0, });
May be related: #100
On Safari code below doesn't scroll to the top of the page however on other browsers it does. When I delete smooth-scrolling, it scrolls back to the top. (Angular 10) script added in index.html.