Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -756,13 +756,11 @@ public open class ReactViewGroup public constructor(context: Context?) :
),
)
}
// fallback - should be transitioning or have no parent if the view was removed
if (parent == null || transitioning) {
return true
} else {
check(parent === this)
return false
}
// fallback - a view that is transitioning, has no parent, or is parented elsewhere is no longer
// a live child of `this`, so it is reported as clipped. Only a view still parented to `this`
// (and not transitioning) is not clipped. The missing-tag inconsistency is already surfaced as
// a soft exception above.
return transitioning || parent !== this
}

private fun indexOfChildInAllChildren(child: View): Int {
Expand Down
Loading