react-native/Libraries/Components
Spencer Ahrens 65184ec6b0 rename and extend new maintain visible content position feature
Summary:
Builds off of cae7179c94

- Make the prop a dictionary for more configuration options
- Rename `maintainPositionAtOrBeyondIndex` -> `maintainVisibleContentPosition` + `minIndexForVisible`
- Add autoscroll threshold feature

Given the async native of RN JS and background layout, there is no way to trigger the scrollTo from JS without risking a delay, so we add the feature in native code.

== Test Plan ==
ScrollViewExample:
https://youtu.be/pmY8pxC9PRs

Reviewed By: shergin

Differential Revision: D6729160

fbshipit-source-id: 70f9bae460ce84567857a4f696da78ce9b3b834c
2018-01-18 14:01:50 -08:00
..
AccessibilityInfo Migrate to new documentation format 2017-11-16 17:04:45 -08:00
ActivityIndicator Migrate to new documentation format 2017-11-16 17:04:45 -08:00
AppleTV Update remaining PropTypes references 2017-06-12 16:03:09 -07:00
CheckBox Docs: Add example to CheckBox documentation 2017-11-07 11:06:44 -08:00
Clipboard Remove deprecated APIs and modules 2016-10-11 07:43:52 -07:00
DatePicker - Adding locale prop to DatePickerIOS 2017-11-04 14:40:24 -07:00
DatePickerAndroid Fixed a typo in open function documentation 2017-04-18 15:36:20 -07:00
DrawerAndroid Expose StatusBar height and fix StatusBar example - T13591448 2017-08-15 11:11:39 -07:00
Keyboard Wrap textInput with KeyboardAvoidingView 2018-01-10 13:24:22 -08:00
MaskedView Wrong name 2017-09-29 15:03:23 -07:00
Navigation Typos in comments and log messages 2018-01-12 22:18:45 -08:00
Picker Upgrade fbsource/xplat/js to Flow v0.53.0 2017-08-17 18:45:01 -07:00
ProgressBarAndroid Removed ProgressBarAndroid.android deprecation warning 2017-10-18 17:01:04 -07:00
ProgressViewIOS Fix Flow errors at declaration of most major library components 2017-10-20 03:50:25 -07:00
RefreshControl Fix Flow errors at declaration of most major library components 2017-10-20 03:50:25 -07:00
SafeAreaView Fix typo in SafeArea documentation 2017-11-14 10:32:15 -08:00
ScrollView rename and extend new maintain visible content position feature 2018-01-18 14:01:50 -08:00
SegmentedControlIOS Fix Flow errors at declaration of most major library components 2017-10-20 03:50:25 -07:00
Slider Docs: Improve documentation of Slider (add example) 2017-10-31 09:42:07 -07:00
StatusBar Typos in comments and log messages 2018-01-12 22:18:45 -08:00
Switch Fix Flow errors at declaration of most major library components 2017-10-20 03:50:25 -07:00
TabBarIOS Fix $FlowFixMes from TabBarIOS 2017-11-01 19:17:11 -07:00
TextInput Generalization of `isInAParentText` context 2018-01-14 20:03:32 -08:00
TimePickerAndroid Add TimePicker modes 2017-10-08 12:38:45 -07:00
ToastAndroid Fix typo 2017-09-05 12:48:16 -07:00
ToolbarAndroid Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
Touchable Tweak FIGListItem layout 2017-12-18 18:31:19 -08:00
UnimplementedViews Upgrade fbsource/xplat/js to Flow v0.53.0 2017-08-17 18:45:01 -07:00
View Generalization of `isInAParentText` context 2018-01-14 20:03:32 -08:00
ViewPager Add description to require a key for each child in ViewPageAndroid 2017-10-18 01:00:15 -07:00
WebView Run eslint --fix 2017-10-09 17:46:44 -07:00
Button.js Apple TV: TouchableOpacity and Button need hasTVPreferredFocus support 2017-10-18 12:18:12 -07:00
LazyRenderer.js Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
ScrollResponder.js Modernize ScrollResponder.js 2018-01-05 12:46:40 -08:00
StaticContainer.react.js Upgrade fbsource/xplat/js to Flow v0.53.0 2017-08-17 18:45:01 -07:00
StaticRenderer.js Upgrade fbsource/xplat/js to Flow v0.53.0 2017-08-17 18:45:01 -07:00
Subscribable.js [ReactNative] clean lint for Libraries/Components 2015-05-18 15:54:07 -08:00