From 842a4e556f52c6e49116998bbaa25e8fa1d045a9 Mon Sep 17 00:00:00 2001 From: Rongrong Chai Date: Thu, 26 Oct 2023 01:52:01 +0000 Subject: [PATCH] enable scroll restoration --- apps/openchallenges/app/src/app/app.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openchallenges/app/src/app/app.config.ts b/apps/openchallenges/app/src/app/app.config.ts index 124cb5ca37..a272c2e108 100644 --- a/apps/openchallenges/app/src/app/app.config.ts +++ b/apps/openchallenges/app/src/app/app.config.ts @@ -49,7 +49,7 @@ export const appConfig: ApplicationConfig = { routes, withEnabledBlockingInitialNavigation(), withInMemoryScrolling({ - // scrollPositionRestoration: 'top', + scrollPositionRestoration: 'enabled', }) ), ],