dillon1000/react

Commit

[Fiber] Clean up ViewTransition when it fails to start (#34676)

The View Transition docs were unclear about this but apparently the
`finished` promise never settles if the animation never started. So if
there's an error that rejects the `ready` promise, we'll never run the
clean up which can cause it to stall.

Fixes #34662.

However, ultimately that is caused by Chrome stalling our default
`onDefaultTransitionIndicator` but it should be unblocked after 10
seconds, not a minute.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…