mirror of
https://github.com/mempool/mempool.git
synced 2025-03-15 12:20:28 +01:00
enable scroll position restoration and anchor scrolling
This commit is contained in:
parent
8ed664e3a9
commit
be2f024da1
1 changed files with 3 additions and 1 deletions
|
@ -298,7 +298,9 @@ if (browserWindowEnv && browserWindowEnv.OFFICIAL_BISQ_MARKETS) {
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [RouterModule.forRoot(routes, {
|
imports: [RouterModule.forRoot(routes, {
|
||||||
initialNavigation: 'enabled'
|
initialNavigation: 'enabled',
|
||||||
|
scrollPositionRestoration: 'enabled',
|
||||||
|
anchorScrolling: 'enabled'
|
||||||
})],
|
})],
|
||||||
exports: [RouterModule]
|
exports: [RouterModule]
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue