Skip to content

Commit 00905a9

Browse files
authored
chore(demo): set scrollPositionRestoration: true (#68)
1 parent 882b20a commit 00905a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

projects/demo/src/app/app.routes.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ export const appRoutes: Routes = [
2121
@NgModule({
2222
imports: [
2323
RouterModule.forRoot(appRoutes, {
24-
initialNavigation: 'enabled',
24+
initialNavigation: 'enabledBlocking',
2525
relativeLinkResolution: 'corrected',
26+
scrollPositionRestoration: 'enabled',
2627
}),
2728
],
2829
exports: [RouterModule],

0 commit comments

Comments
 (0)