mirror of
https://github.com/status-im/react-native.git
synced 2025-01-20 06:18:57 +00:00
950c2b2a73
Summary: > The property contentInset can change the maximum and minimum values of the content offset to allow scrolling outside of the scrollable area. Its type is UIEdgeInsets, which consists of 4 numbers: {top, left, bottom, right}. When you introduce an inset, you change the range of the content offset. For example, setting the content inset to have a value of 10 for its top value allows the content offset’s y value to reach -10. This introduces padding around the scrollable area. ( https://www.objc.io/issues/3-views/scroll-view/ ) See also: https://github.com/facebook/react-native/pull/15395 Reviewed By: mmmulani Differential Revision: D5607192 fbshipit-source-id: 1acd6a84e2bcfefc6e82861cfbdfe6247d0e4264