diff --git a/React/Views/RCTModalHostView.m b/React/Views/RCTModalHostView.m index f586e4ad0eadb5..bc0cac18b3ec94 100644 --- a/React/Views/RCTModalHostView.m +++ b/React/Views/RCTModalHostView.m @@ -129,8 +129,6 @@ - (void)insertReactSubview:(UIView *)subview atIndex:(NSInteger)atIndex [subview addGestureRecognizer:_menuButtonGestureRecognizer]; } #endif - subview.autoresizingMask = UIViewAutoresizingFlexibleHeight | - UIViewAutoresizingFlexibleWidth; [_modalViewController.view insertSubview:subview atIndex:0]; _reactSubview = subview;