The page stays yours
Page transitions from GlimmProvider and TransitionLink no longer hold up the page. A slow route keeps the page you were on live while it loads, and you can click, scroll and type all the way through a sweep.
- While a route loaded, the browser stopped drawing the page for as long as the route took, up to eight seconds. A route now has 200 ms to arrive; a slower one keeps the current page on screen and working, and the band sweeps once the new page is there.
- Clicks and scrolling during a sweep were swallowed. A press, scroll or key now ends the sweep early, and the press reaches whatever was under the pointer.
- In browsers without View Transitions, the cover over the page now lets go after 200 ms as well, rather than hiding the page until the route arrived.
- The moving edge of the reveal no longer restyles the whole page on every frame, which cuts style work during a sweep by about 85% on a large page.