Browse Source

Scroll position not reset on page change

pull/5753/head
Mariam Saeed 3 weeks ago
parent
commit
3a06460732
  1. 1
      CHANGELOG.md
  2. 1
      apps/client/src/app/app-routing.module.ts

1
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

1
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

Loading…
Cancel
Save