react-native/React
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
..
Base Tweaking -[RCTSurface synchronouslyWaitForStage:] 2018-01-16 12:32:13 -08:00
CxxBridge remove "prepareReact" call from the iOS bridge 2017-12-26 14:47:29 -08:00
CxxModule Make RCTNativeModule::invokeInner explicitely return folly::none in case of error 2017-11-17 03:17:20 -08:00
CxxUtils More efficient dynamic->NSString conversion. 2017-07-26 18:31:12 -07:00
DevSupport improve detection of inspectable JS contexts 2017-12-18 13:32:36 -08:00
Executors Add more information to `__fbBatchedBridge is undefined` error 2017-07-26 11:21:59 -07:00
Inspector avoid redbox in handleWrappedEvent 2017-12-19 10:30:52 -08:00
Modules Typos in comments and log messages 2018-01-12 22:18:45 -08:00
Profiler Bunch of utility funcs were moved to RCTUIManagerUtils 2017-09-26 14:08:28 -07:00
React.xcodeproj Missing moving pieces of RCTSurfaceHostingView 2018-01-11 18:57:31 -08:00
ReactLegacy.xcodeproj Fix ReactLegacy and delete RCTViewControllerProtocol 2017-12-20 15:20:00 -08:00
Views rename and extend new maintain visible content position feature 2018-01-18 14:01:50 -08:00
third-party.xcconfig More attempts to fix Travis CI runs 2017-05-10 04:32:54 -07:00