mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
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.
This commit is contained in:
1 parent
a44e750e87
commit
38bdda1ca6
1 file changed
+1
-1
+1
-1
@@ -146,7 +146,7 @@ function trackDeletedPairViewTransitions(deletion: Fiber): void {
|
||||
}
|
||||
let child = deletion.child;
|
||||
while (child !== null) {
|
||||
if (child.tag === OffscreenComponent && child.memoizedState === null) {
|
||||
if (child.tag === OffscreenComponent && child.memoizedState !== null) {
|
||||
// This tree was already hidden so we skip it.
|
||||
} else {
|
||||
if (
|
||||
|
||||
Reference in new issue
Block a user