Skip to content

Commit

Permalink
fix broken overdrag on notch (#787)
Browse files Browse the repository at this point in the history
Co-authored-by: Kuba Juszczyk <jakub.juszczyk@flipfit.com>
  • Loading branch information
ku8ar and ku8ar authored Nov 17, 2023
1 parent 3ea6dae commit 08486ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ios/Fabric/RNCPagerViewComponentView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ - (instancetype)initWithFrame:(CGRect)frame
_scrollView.pagingEnabled = YES;
_scrollView.showsHorizontalScrollIndicator = NO;
_scrollView.showsVerticalScrollIndicator = NO;
_scrollView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;

[self addSubview:_scrollView];

Expand Down
1 change: 1 addition & 0 deletions ios/RNCPagerView.m
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ - (void)embed {
_scrollView.pagingEnabled = YES;
_scrollView.showsHorizontalScrollIndicator = NO;
_scrollView.showsVerticalScrollIndicator = NO;
_scrollView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
[self addSubview:_scrollView];

_containerView = [[UIView alloc] initWithFrame:self.bounds];
Expand Down

0 comments on commit 08486ba

Please sign in to comment.