Skip to content

Commit 5484b04

Browse files
drolamathiasschopmans
authored andcommitted
feat: restore scroll position when navigating back
1 parent 1c9bfa3 commit 5484b04

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

next.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ const nextConfig = {
88
output: "export",
99
trailingSlash: true,
1010
reactStrictMode: true,
11+
experimental: {
12+
scrollRestoration: true,
13+
},
1114
};
1215

1316
module.exports = nextConfig;

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)