I'm working with Angular v11.1 and typescript v4.0.5, the problem is the following:
I have a mat-table with a lot of rows, so I decided to put it into a div with max-height=60vh
and overflow:auto
to add a scroll bar for the table.
It works as expected until I refresh the website, when I do that, the table is reload in the same position I left it before and I want to reload it on top instead. Any idea or advice of how to solve this?