Skip to content

Commit

Permalink
yarn replace-fork
Browse files Browse the repository at this point in the history
  • Loading branch information
sammy-SC committed Oct 11, 2022
1 parent 6129b49 commit 4083f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-reconciler/src/ReactFiberCommitWork.old.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4083f2f

Please sign in to comment.