diff --git a/ios/RCTPdf/RCTPdfView.m b/ios/RCTPdf/RCTPdfView.m index e1a6c12a..c4841cb7 100644 --- a/ios/RCTPdf/RCTPdfView.m +++ b/ios/RCTPdf/RCTPdfView.m @@ -241,7 +241,7 @@ - (void)didSetProps:(NSArray *)changedProps - (void)reactSetFrame:(CGRect)frame { [super reactSetFrame:frame]; - _pdfView.frame = frame; + _pdfView.frame = CGRectMake(0, 0, frame.size.width, frame.size.height); _initialed = YES;