diff --git a/CHANGELOG.md b/CHANGELOG.md index 31d691c87..2ff3641dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Improved the currency validation in the search functionality of the data provider service - Optimized the get quotes functionality by utilizing the asset profile resolutions in the _Financial Modeling Prep_ service - Extracted the footer to a component +- Fixed scroll position not resetting on page change. ### Fixed diff --git a/apps/client/src/app/app-routing.module.ts b/apps/client/src/app/app-routing.module.ts index 0e5a2dead..e9b5a0b2b 100644 --- a/apps/client/src/app/app-routing.module.ts +++ b/apps/client/src/app/app-routing.module.ts @@ -154,6 +154,7 @@ const routes: Routes = [ routes, // Preload all lazy loaded modules with the attribute preload === true { + scrollPositionRestoration: 'top', anchorScrolling: 'enabled', preloadingStrategy: ModulePreloadService // enableTracing: true // <-- debugging purposes only