From 4083f2f1fa9f59fc6e53243ba0f6e7b152cb2835 Mon Sep 17 00:00:00 2001 From: Samuel Susla Date: Tue, 11 Oct 2022 16:02:13 +0100 Subject: [PATCH] yarn replace-fork --- packages/react-reconciler/src/ReactFiberCommitWork.old.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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