Skip to content
Snippets Groups Projects
Commit a774e9ba authored by Tögl, Christina's avatar Tögl, Christina
Browse files

Add scroll to top when switching activities (#37)

parent 96e3a94e
No related branches found
No related tags found
1 merge request!10Add scroll to top when switching activities (#37)
Pipeline #14225 passed
......@@ -350,6 +350,7 @@ export class AppShell extends ScopedElementsMixin(LitElement) {
}
let updateFunc = () => {
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
this.updatePageTitle();
this.subtitle = this.activeMetaDataText("short_name");
this.description = this.activeMetaDataText("description");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment