Skip to content

Commit

Permalink
fix: portals on iOS paper
Browse files Browse the repository at this point in the history
  • Loading branch information
intergalacticspacehighway committed Feb 12, 2023
1 parent b6b982f commit e4d5995
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions React/Modules/RCTUIManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -987,10 +987,6 @@ - (void)_manageChildren:(NSNumber *)containerTag
[componentData setProps:props forShadowView:shadowView];
_shadowViewRegistry[reactTag] = shadowView;
RCTShadowView *rootView = _shadowViewRegistry[rootTag];
RCTAssert(
[rootView isKindOfClass:[RCTRootShadowView class]] || [rootView isKindOfClass:[RCTSurfaceRootShadowView class]],
@"Given `rootTag` (%@) does not correspond to a valid root shadow view instance.",
rootTag);
shadowView.rootView = (RCTRootShadowView *)rootView;
}

Expand Down

0 comments on commit e4d5995

Please sign in to comment.