Merge branch 'master' into projected-to-expected

This commit is contained in:
wiz
2023-02-14 17:34:18 +09:00
committed by GitHub
8 changed files with 110 additions and 15 deletions

View File

@@ -298,6 +298,10 @@ export class StartComponent implements OnInit, OnDestroy {
}
ngOnDestroy() {
if (this.blockchainContainer?.nativeElement) {
// clean up scroll position to prevent caching wrong scroll in Firefox
this.blockchainContainer.nativeElement.scrollLeft = 0;
}
this.timeLtrSubscription.unsubscribe();
this.chainTipSubscription.unsubscribe();
this.markBlockSubscription.unsubscribe();