Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ScrollView.automaticallyAdjustsScrollIndicatorInsets prop (on iOS) #29809

Commits on Jun 21, 2021

  1. Add 'automaticallyAdjustsScrollIndicatorInsets' prop to ScrollView (f…

    …or iOS)
    
    Summary:
    In iOS 13 Apple added a new property to UIScrollView that "automatically" alters the scroll indicator insets in a fashion similar to the way 'contentInsetAdjustmentBehavior' alters content insets.  See here for iOS documentation:
    https://developer.apple.com/documentation/uikit/uiscrollview/3198043-automaticallyadjustsscrollindica?language=objc
    
    The OS default value for this property is `true`, which we preserve. When set to `false`, the behavior matches iOS <= 12.
    
    Closes facebook#28140
    justinwh committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    27af364 View commit details
    Browse the repository at this point in the history
  2. Add rn-tester ScrollViewIndicatorInsetsExample to demonstrate ScrollV…

    …iew.automaticallyAdjustsScrollIndicatorInsets
    justinwh committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    6b396b8 View commit details
    Browse the repository at this point in the history