rsnext/packages/next/next-server/lib
JJ Kasper 06ac0adcf8
Add scroll restoration handling after render is complete (#13914)
This adds scroll restoration handling to make sure the correct scroll position is restored after navigating back/forward to a page and the rendering hasn't completed by the time the default browser scroll restoration has taken place. 

An initial failing test case was added which is working with the changes in this PR, if there are any other cases that should be added let me know and I can make sure we have them to ensure we don't regress on this behavior

---

Fixes #12530
2020-06-09 20:53:44 +00:00
..
router Add scroll restoration handling after render is complete (#13914) 2020-06-09 20:53:44 +00:00
amp-context.ts Add sourcemaps to Next.js core compilation (#13049) 2020-05-19 09:09:59 +02:00
amp.ts chore(next): export/lib/next-server missing types (#13320) 2020-05-24 22:44:05 +00:00
constants.ts Fix pages/index.js and pages/index/index.js behavior (#13699) 2020-06-04 17:32:45 +00:00
document-context.ts Add sourcemaps to Next.js core compilation (#13049) 2020-05-19 09:09:59 +02:00
dynamic.tsx Update references to zeit/next.js (#13463) 2020-05-27 17:51:11 -04:00
head-manager-context.ts Add sourcemaps to Next.js core compilation (#13049) 2020-05-19 09:09:59 +02:00
head.tsx Added no-shadow rule to eslint (#13645) 2020-06-01 21:00:22 +00:00
loadable-context.ts Add sourcemaps to Next.js core compilation (#13049) 2020-05-19 09:09:59 +02:00
loadable.d.ts Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
loadable.js Remove unused variable (#13716) 2020-06-03 11:58:58 -04:00
mitt.ts Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
router-context.ts Add sourcemaps to Next.js core compilation (#13049) 2020-05-19 09:09:59 +02:00
runtime-config.ts chore(next): export/lib/next-server missing types (#13320) 2020-05-24 22:44:05 +00:00
side-effect.tsx chore(next): export/lib/next-server missing types (#13320) 2020-05-24 22:44:05 +00:00
utils.ts Clean up render.tsx options (#13759) 2020-06-06 23:00:03 +00:00