File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/react-reconciler/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2801,7 +2801,7 @@ function commitMutationEffectsOnFiber(
2801
2801
}
2802
2802
2803
2803
// Offscreen with manual mode manages visibility manually.
2804
- if ( supportsMutation && finishedWork . memoizedProps . mode !== 'manual' ) {
2804
+ if ( supportsMutation && finishedWork . pendingProps . mode !== 'manual' ) {
2805
2805
// TODO: This needs to run whenever there's an insertion or update
2806
2806
// inside a hidden Offscreen tree.
2807
2807
hideOrUnhideAllChildren ( offscreenBoundary , isHidden ) ;
Original file line number Diff line number Diff line change @@ -2801,7 +2801,7 @@ function commitMutationEffectsOnFiber(
2801
2801
}
2802
2802
2803
2803
// Offscreen with manual mode manages visibility manually.
2804
- if ( supportsMutation && finishedWork . memoizedProps . mode !== 'manual' ) {
2804
+ if ( supportsMutation && finishedWork . pendingProps . mode !== 'manual' ) {
2805
2805
// TODO: This needs to run whenever there's an insertion or update
2806
2806
// inside a hidden Offscreen tree.
2807
2807
hideOrUnhideAllChildren ( offscreenBoundary , isHidden ) ;
You can’t perform that action at this time.
0 commit comments