react-native/Libraries/Components/ScrollView
Craig_Martin e3ac3293d9 Add scrollToOverflowEnabled prop to ScrollView (#24296)
Summary:
ScrollView's scrollTo behavior on iOS was recently changed to limit the offset to the content size plus any content inset (see #23427). This departure from the old behavior created UI issues for anyone that is using the over-scroll ability for the purpose of positioning elements at specific coordinates on the screen. Examples include using this behavior to position TextInputs above the virtual keyboard programmatically when focused or moving drop down elements positioned near the bottom of the content toward the top of the screen when selected to show a larger absolutely positioned item list. Default behavior does not change and this is an "opt-in" type of prop to re-enable the old behavior.

[iOS] [Added] - Added scrollToOverflowEnabled prop to ScrollView
Pull Request resolved: https://github.com/facebook/react-native/pull/24296

Differential Revision: D14762619

Pulled By: cpojer

fbshipit-source-id: d2a552b5cb321d52e8ea4116327bf9ec647a3aae
2019-04-08 23:22:33 +02:00
..
__mocks__ Flow strict ScrollViewMock (#22103) 2018-11-03 22:14:51 -07:00
InternalScrollViewType.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
ScrollView.js Add scrollToOverflowEnabled prop to ScrollView (#24296) 2019-04-08 23:22:33 +02:00
ScrollViewStickyHeader.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
processDecelerationRate.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00