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
..
2017-12-13 16:19:21 -08:00
2017-12-19 19:46:06 -08:00
2017-12-06 17:34:26 -08:00
2018-01-08 17:04:29 -08:00
2018-01-08 17:04:29 -08:00
2016-11-02 12:29:15 -07:00
2017-09-08 14:46:14 -07:00
2018-01-12 22:18:45 -08:00
2017-09-21 15:01:52 -07:00
2018-01-08 17:04:29 -08:00
2017-11-10 21:15:48 -08:00
2018-01-12 22:18:45 -08:00
2017-10-09 17:46:44 -07:00
2017-09-06 03:33:43 -07:00