save and restore scroll position of song list

This commit is contained in:
2020-06-09 20:28:35 +02:00
parent 634edec169
commit 268c683ad3
6 changed files with 81 additions and 10 deletions

View File

@@ -1,5 +1,7 @@
<app-navigation></app-navigation>
<perfect-scrollbar [perfectScrollbar] class="scroll" style="max-height: calc(100vh); width: 100%; overflow: hidden;">
<perfect-scrollbar #scrollbar (psScrollY)="onScoll($event)" [perfectScrollbar]
class="scroll" style="max-height: calc(100vh); width: 100%; overflow: hidden;"
>
<div [@fader]="o.isActivated ? o.activatedRoute : ''" class="content">
<router-outlet #o="outlet"></router-outlet>
</div>