Is there a way to configure the Angular2 router to jump to the top of the browser window when the user clicks a link?
First exposure to ang2 so pardon the seemingly noobish Q.
We have a simple list of tiles where each tile is a simple product listing, clicking the tile takes the user to the detail page of the said product... all works great.
When the list is longer the browser window is tall and the product page is of equal or longer length, when the user clicks said product the browsers vertical scroll bar stays put...
We could put a hack (eg: Scroll to the top of the page using JavaScript/jQuery?) in there in js to force the browser to scroll up, but it seems this might/should be something the router would do?