diff --git a/aio/src/app/app.component.ts b/aio/src/app/app.component.ts index 76952d9c73..26afa78a82 100644 --- a/aio/src/app/app.component.ts +++ b/aio/src/app/app.component.ts @@ -185,6 +185,9 @@ export class AppComponent implements OnInit { // Stop fetching timeout (which, when render is fast, means progress bar never shown) clearTimeout(this.isFetchingTimeout); + // Put page in a clean visual state + this.scrollService.scrollToTop(); + // Scroll 500ms after the doc-viewer has finished rendering the new doc // The delay is to allow time for async layout to complete setTimeout(() => {