diff --git a/packages/app-shell/src/app-shell.js b/packages/app-shell/src/app-shell.js index b156279ba4d3520a43a97a9da2a51774cffd8a5d..4cc74fe094d02a342364cd138a5a9296e87b504b 100644 --- a/packages/app-shell/src/app-shell.js +++ b/packages/app-shell/src/app-shell.js @@ -350,9 +350,13 @@ export class AppShell extends ScopedElementsMixin(LitElement) { } let updateFunc = () => { + if (window.pageYOffset !== 0) { + window.scrollTo(0, 96); + } this.updatePageTitle(); this.subtitle = this.activeMetaDataText("short_name"); this.description = this.activeMetaDataText("description"); + }; // If it is empty assume the element is already registered through other means @@ -640,6 +644,8 @@ export class AppShell extends ScopedElementsMixin(LitElement) { ul.menu.hidden { display: none; } + + } `; }