Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Avoid contentInsets overwrites scrollIndicatorInsets on iOS face…
…book#13025 Fix to avoid contentInsets always overwrites scrollIndicatorInsets of ScrollView/ListView. According to issue facebook#13025 https://github.com/facebook/react-native/blob/a8391bde7d757d01521a6d12170fb9090c17a6a0/React/Views/RCTView.m#L299 always overide `scrollIndicatorInsets` when called and only works when `contentInsets` is not set. We only need to worry about when `contentInsets` is set, We only have to check and reset it after `autoAdjustInsetsForView` is called.
- Loading branch information