mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
reset scroll position on route change
This commit is contained in:
@@ -44,6 +44,7 @@ export function getRequest(transferState: TransferState): any {
|
|||||||
RouterModule.forRoot([], {
|
RouterModule.forRoot([], {
|
||||||
// enableTracing: true,
|
// enableTracing: true,
|
||||||
useHash: false,
|
useHash: false,
|
||||||
|
scrollPositionRestoration: 'enabled',
|
||||||
preloadingStrategy:
|
preloadingStrategy:
|
||||||
IdlePreload
|
IdlePreload
|
||||||
}),
|
}),
|
||||||
|
Reference in New Issue
Block a user