SSR: dirty hack to fix initial blockchain scroll

This commit is contained in:
Mononaut
2023-10-29 01:27:19 +00:00
parent abd7f62b20
commit 9cd33825bf
4 changed files with 29 additions and 1 deletions

View File

@@ -59,7 +59,7 @@ export class StartComponent implements OnInit, AfterViewChecked, OnDestroy {
hasMenu = false;
constructor(
private stateService: StateService,
public stateService: StateService,
private cd: ChangeDetectorRef,
) {
this.isiOS = ['iPhone','iPod','iPad'].includes((navigator as any)?.userAgentData?.platform || navigator.platform);