I have a component consisting of a list of many cards (like a grid format). Upon scrolling down and selecting one of the cards, I would expect to return to the same scroll posit
I was able to make it work by adding
{ scrollPositionRestoration: 'top' } to the RouterModule.forRoot(routes) like this:
RouterModule.forRoot(routes, { scrollPositionRestoration: 'top' })
And it worked 100%