Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Toolkit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
digital blueprint
Web Component Framework
Toolkit
Merge requests
!10
Add scroll to top when switching activities (
#37
)
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Add scroll to top when switching activities (
#37
)
app-shell-scroll-to-activity-top-when-switching-activities
into
master
Overview
6
Commits
2
Pipelines
2
Changes
1
1 unresolved thread
Hide all comments
Merged
Tögl, Christina
requested to merge
app-shell-scroll-to-activity-top-when-switching-activities
into
master
4 years ago
Overview
6
Commits
2
Pipelines
2
Changes
1
1 unresolved thread
Hide all comments
0
0
Merge request reports
Compare
master
version 1
a774e9ba
4 years ago
master (base)
and
version 1
latest version
275bd827
2 commits,
4 years ago
version 1
a774e9ba
1 commit,
4 years ago
1 file
+
1
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
packages/app-shell/src/app-shell.js
+
1
−
0
View file @ a774e9ba
Edit in single-file editor
Open in Web IDE
Show full file
@@ -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
"
);
Loading