rsnext/packages/next/next-server
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
..
lib Add scroll restoration handling after render is complete (#13914) 2020-06-09 20:53:44 +00:00
server Prepare custom routes loading for adding additional routes (#13857) 2020-06-09 20:16:23 +00:00