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-11-02 08:51:34 -07:00
2018-01-18 14:01:50 -08:00
2016-06-27 17:13:27 -07:00
2016-06-27 17:13:27 -07:00
2016-11-23 07:58:39 -08:00
2016-11-23 07:58:39 -08:00
2015-09-04 07:00:21 -08:00
2016-11-23 07:58:39 -08:00
2017-11-21 12:16:21 -08:00
2015-12-01 09:00:28 -08:00
2017-12-19 23:46:09 -08:00
2016-11-23 07:58:39 -08:00
2017-12-19 23:46:09 -08:00
2016-11-23 07:58:39 -08:00
2017-01-26 18:28:53 -08:00
2017-03-24 18:15:42 -07:00
2015-09-02 06:11:24 -08:00
2015-09-02 06:11:24 -08:00
2016-11-23 07:58:39 -08:00
2017-11-04 14:40:24 -07:00
2016-11-23 07:58:39 -08:00
2017-10-23 11:24:18 -07:00
2017-07-11 15:05:57 -07:00
2017-07-11 15:05:57 -07:00
2017-07-11 15:05:57 -07:00
2017-07-11 15:05:57 -07:00
2017-11-09 13:54:54 -08:00
2018-01-09 15:46:47 -08:00
2016-09-27 06:28:33 -07:00
2017-04-01 03:34:41 -07:00
2017-06-20 19:22:57 -07:00
2017-09-21 15:01:52 -07:00
2017-09-21 15:01:52 -07:00
2017-09-23 10:46:17 -07:00
2017-12-18 11:47:26 -08:00
2018-01-12 22:18:45 -08:00
2016-11-23 07:58:39 -08:00
2017-12-18 11:47:26 -08:00
2017-08-25 00:14:46 -07:00
2016-09-08 17:58:50 -07:00
2016-11-23 07:58:39 -08:00
2017-08-25 00:14:46 -07:00
2016-11-23 07:58:39 -08:00
2017-08-23 20:30:10 -07:00
2016-11-23 07:58:39 -08:00
2016-08-05 12:44:21 -07:00
2016-11-23 07:58:39 -08:00
2016-09-27 06:28:33 -07:00
2016-11-23 07:58:39 -08:00
2017-12-03 16:15:53 -08:00
2016-11-23 07:58:39 -08:00
2016-04-16 15:15:25 -07:00
2017-02-19 23:19:47 -08:00
2017-03-08 19:00:14 -08:00
2016-11-23 07:58:39 -08:00
2015-11-03 14:49:30 -08:00
2016-11-23 07:58:39 -08:00
2016-04-26 04:21:39 -07:00
2018-01-12 22:18:45 -08:00
2017-12-19 23:46:09 -08:00
2017-08-24 00:05:48 -07:00
2017-08-24 00:05:48 -07:00
2018-01-16 12:57:46 -08:00
2018-01-16 12:57:46 -08:00
2016-11-23 07:58:39 -08:00
2017-02-19 18:33:49 -08:00
2016-11-23 07:58:39 -08:00
2015-12-21 10:30:39 -08:00
2016-11-23 07:58:39 -08:00
2016-11-23 07:58:39 -08:00
2015-09-02 06:11:24 -08:00
2017-12-18 11:47:26 -08:00
2017-12-20 15:20:00 -08:00
2017-12-04 11:17:10 -08:00
2017-12-04 11:17:10 -08:00
2016-11-23 07:58:39 -08:00
2017-12-04 11:17:10 -08:00
2016-11-23 07:58:39 -08:00
2017-12-18 11:47:26 -08:00
2016-12-19 06:28:40 -08:00
2017-03-23 11:36:17 -07:00
2018-01-12 22:18:45 -08:00
2017-12-18 11:47:26 -08:00
2016-11-23 07:58:39 -08:00
2017-12-19 09:11:49 -08:00
2017-01-06 20:29:02 -08:00
2017-10-30 23:29:20 -07:00
2016-11-23 07:58:39 -08:00
2017-09-25 10:30:53 -07:00
2017-12-20 15:20:00 -08:00
2017-12-20 15:20:00 -08:00
2017-05-28 21:45:32 -07:00
2017-12-19 23:46:09 -08:00
2017-12-19 23:46:09 -08:00