-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Closed
Labels
Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
React Native 0.52. iOS 11
Steps to Reproduce
- ScrollView
- Set property
contentInset
Expected Behavior
It should not affect scrollIndicatorInsets
Actual Behavior
Resets scrollIndicatorInsets
to contentInset
Workaround
I fixed it for myself by commenting this line in RCTView.m
+ (void)autoAdjustInsetsForView:(UIView<RCTAutoInsetsProtocol> *)parentView
withScrollView:(UIScrollView *)scrollView
updateOffset:(BOOL)updateOffset
{
...
...
// scrollView.scrollIndicatorInsets = baseInset; <<<----
allmaxgit
Metadata
Metadata
Assignees
Labels
Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.