Skip to content

Commit

Permalink
fix can not show two pdf in one page
Browse files Browse the repository at this point in the history
  • Loading branch information
Wonday committed Sep 10, 2018
1 parent c646043 commit 06960e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/RCTPdf/RCTPdfView.m
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ - (void)didSetProps:(NSArray<NSString *> *)changedProps
- (void)reactSetFrame:(CGRect)frame
{
[super reactSetFrame:frame];
_pdfView.frame = frame;
_pdfView.frame = CGRectMake(0, 0, frame.size.width, frame.size.height);

_initialed = YES;

Expand Down

0 comments on commit 06960e0

Please sign in to comment.