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([], {
|
||||
// enableTracing: true,
|
||||
useHash: false,
|
||||
scrollPositionRestoration: 'enabled',
|
||||
preloadingStrategy:
|
||||
IdlePreload
|
||||
}),
|
||||
|
Reference in New Issue
Block a user