Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Restore scroll position (#15)

Thomas3558f52b84d2
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9326c2eea3..74c0f60314 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -19,6 +19,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Optimized the data management for historical data
- Optimized the exchange rate service
+### Fixed
+
+- Restored the scroll position when opening a new page
+
## 0.85.0 - 16.04.2021
### Changed
diff --git a/apps/client/src/app/app-routing.module.ts b/apps/client/src/app/app-routing.module.ts
index 145744e914..dfa2c36230 100644
--- a/apps/client/src/app/app-routing.module.ts
+++ b/apps/client/src/app/app-routing.module.ts
@@ -81,7 +81,8 @@ const routes: Routes = [
{
preloadingStrategy: ModulePreloadService,
// enableTracing: true // <-- debugging purposes only
- relativeLinkResolution: 'legacy'
+ relativeLinkResolution: 'legacy',
+ scrollPositionRestoration: 'enabled'
}
)
],