Don't skip content in visible offscreen trees for Gesture View Transitions (#35066)
Follow up to #35063. I forgot there's another variant of this in the ApplyGesture path.
Sebastian Markbåge committed
Nov 6, 2025 at 20:59 UTC
38bdda1ca61cef1b0abe8ca64dd8813fc7288d69
1 file changed
+1
-1
packages/react-reconciler/src/ReactFiberApplyGesture.js
+1
-1
@@ -146,7 +146,7 @@ function trackDeletedPairViewTransitions(deletion: Fiber): void {
146
}
147
let child = deletion.child;
148
while (child !== null) {
149
- if (child.tag === OffscreenComponent && child.memoizedState === null) {
149
+ if (child.tag === OffscreenComponent && child.memoizedState !== null) {
150
// This tree was already hidden so we skip it.
151
} else {
152
if (