We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d85f86c commit 987e85eCopy full SHA for 987e85e
packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js
@@ -1593,8 +1593,10 @@ export function restoreRootViewTransitionName(rootContainer: Container): void {
1593
// clone the whole document outside of the React too.
1594
containerInstance = (rootContainer: any);
1595
}
1596
- // $FlowFixMe[prop-missing]
1597
- if (containerInstance.style.viewTransitionName === 'root') {
+ if (
+ containerInstance.style &&
1598
+ containerInstance.style.viewTransitionName === 'root'
1599
+ ) {
1600
// If we moved the root view transition name to the container in a gesture
1601
// we need to restore it now.
1602
containerInstance.style.viewTransitionName = '';
0 commit comments