Skip to content

Commit 0ae48c3

Browse files
docs(www): only enable scroll position on backward navigation (#4850)
1 parent 2459985 commit 0ae48c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

projects/www/src/app/app.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ export const appConfig: ApplicationConfig = {
1919
provideFileRouter(
2020
withComponentInputBinding(),
2121
withViewTransitions(),
22-
withInMemoryScrolling()
22+
withInMemoryScrolling({
23+
scrollPositionRestoration: 'enabled',
24+
})
2325
),
2426
provideClientHydration(),
2527
provideHttpClient(withFetch()),

0 commit comments

Comments
 (0)