diff --git a/ios/LEGACY/Fabric/LEGACY_RNCPagerViewComponentView.mm b/ios/LEGACY/Fabric/LEGACY_RNCPagerViewComponentView.mm index 7655485a..151e311c 100644 --- a/ios/LEGACY/Fabric/LEGACY_RNCPagerViewComponentView.mm +++ b/ios/LEGACY/Fabric/LEGACY_RNCPagerViewComponentView.mm @@ -94,6 +94,7 @@ - (void)willMoveToSuperview:(UIView *)newSuperview { - (void)mountChildComponentView:(UIView *)childComponentView index:(NSInteger)index { UIViewController *wrapper = [[UIViewController alloc] initWithView:childComponentView]; [_nativeChildrenViewControllers insertObject:wrapper atIndex:index]; + [self goTo:_currentIndex animated:NO]; } - (void)unmountChildComponentView:(UIView *)childComponentView index:(NSInteger)index {