diff --git a/packages/react-reconciler/src/ReactFiberCommitWork.old.js b/packages/react-reconciler/src/ReactFiberCommitWork.old.js index f7e3e91ea9288..503531c64896f 100644 --- a/packages/react-reconciler/src/ReactFiberCommitWork.old.js +++ b/packages/react-reconciler/src/ReactFiberCommitWork.old.js @@ -2897,7 +2897,7 @@ function commitMutationEffectsOnFiber( // Offscreen with manual mode manages visibility manually. const shouldControlChildrenVisibility = - finishedWork.memoizedProps == null || + finishedWork.memoizedProps === null || finishedWork.memoizedProps.mode !== 'manual'; if (supportsMutation && shouldControlChildrenVisibility) { // TODO: This needs to run whenever there's an insertion or update