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
..
2018-01-08 12:49:53 -08:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-09-12 12:53:59 -07:00
2017-08-17 18:45:01 -07:00
2018-01-08 12:49:53 -08:00
2017-08-30 17:16:17 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-10-18 19:33:30 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-09-26 23:45:48 -07:00
2017-07-07 14:36:01 -07:00
2017-12-06 17:34:26 -08:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-05-08 11:31:19 -07:00
2017-08-17 18:45:01 -07:00
2017-10-20 19:00:54 -07:00
2017-08-29 15:01:05 -07:00
2017-08-17 18:45:01 -07:00
2017-08-31 15:16:05 -07:00
2017-08-17 18:45:01 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-09-06 03:33:43 -07:00
2017-08-17 18:45:01 -07:00
2017-05-08 11:31:19 -07:00
2018-01-08 12:49:53 -08:00
2017-07-11 15:05:57 -07:00
2017-05-08 11:31:19 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-05-08 11:31:19 -07:00
2017-11-09 13:54:54 -08:00
2017-07-07 14:36:01 -07:00
2017-07-07 14:36:01 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2018-01-12 22:18:45 -08:00
2017-11-09 13:54:54 -08:00
2017-08-17 18:45:01 -07:00
2018-01-08 12:49:53 -08:00
2017-08-25 11:00:00 -07:00
2017-08-25 00:14:46 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-07-07 14:36:01 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-08-29 15:01:05 -07:00
2017-08-17 18:45:01 -07:00
2017-09-06 03:33:43 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-05-08 11:31:19 -07:00
2017-08-31 15:16:05 -07:00
2017-05-08 11:31:19 -07:00
2017-08-17 18:45:01 -07:00
2017-11-29 09:01:33 -08:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-05-08 11:31:19 -07:00
2017-08-17 18:45:01 -07:00
2017-10-20 19:00:54 -07:00
2017-10-20 19:00:54 -07:00
2017-05-08 11:31:19 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-08-29 15:01:05 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-10-18 19:33:33 -07:00
2017-10-02 23:00:03 -07:00
2018-01-18 14:01:50 -08:00
2018-01-09 12:32:53 -08:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-10-23 11:32:44 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-10-09 17:46:44 -07:00
2017-07-07 14:36:01 -07:00
2017-08-17 18:45:01 -07:00
2017-08-25 11:00:00 -07:00
2017-08-17 18:45:01 -07:00
2017-09-17 22:00:16 -07:00
2018-01-15 16:06:11 -08:00
2018-01-04 12:51:38 -08:00
2017-11-19 17:15:42 -08:00
2017-10-08 12:38:45 -07:00
2017-09-06 03:33:43 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-10-09 17:46:44 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-10-25 08:20:48 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-08-17 18:45:01 -07:00
2017-05-08 11:31:19 -07:00
2017-09-06 03:33:43 -07:00
2017-09-26 23:45:48 -07:00
2018-01-08 17:04:29 -08:00
2017-05-08 11:31:19 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-08-17 18:45:01 -07:00
2017-05-08 11:31:19 -07:00
2017-08-17 18:45:01 -07:00