Skip to content

Commit

Permalink
Remove contentOffset
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongwuzw committed Oct 10, 2024
1 parent 4f986a0 commit ce2173f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/react-native/React/Views/ScrollView/RCTScrollView.m
Original file line number Diff line number Diff line change
Expand Up @@ -1057,9 +1057,7 @@ -(type)getter \

- (void)setScrollIndicatorInsets:(UIEdgeInsets)value
{
CGPoint contentOffset = _scrollView.contentOffset;
[_scrollView setScrollIndicatorInsets:value];
_scrollView.contentOffset = contentOffset;
}

- (UIEdgeInsets)scrollIndicatorInsets
Expand Down

0 comments on commit ce2173f

Please sign in to comment.