rsnext/test/e2e/reload-scroll-backforward-restoration/next.config.js
akfm ad7f728e2d
fix: Scroll restoration bug caused by idx reset to 0 on reload (#36861)
fix scroll restoration bug

changed key from index to random string, to be inconsistent with session storage when reloading

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2022-05-22 21:39:12 -05:00

5 lines
73 B
JavaScript

module.exports = {
experimental: {
scrollRestoration: true,
},
}