react-native-macos/Libraries
Maarten Schumacher cad2d9b072 Be able to scroll to last item in list
Summary:
The invariant condition doesn't allow scrolling to the last index

Here is a simple reproduction of the problem: https://snack.expo.io/BJ59gzWrZ

Surely, if the last item is rendered, we should be able to scroll to it without an invariant failing?

Tested locally that this change fixes the issue.
Closes https://github.com/facebook/react-native/pull/14934

Differential Revision: D5414535

Pulled By: shergin

fbshipit-source-id: 38dac4c0e2ae5e1e199a67ca0e98e8f7325e77f4
2017-07-13 00:03:51 -07:00
..
ART Avoid creating a new Path instance for performance 2017-07-11 11:18:56 -07:00
ActionSheetIOS Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
AdSupport Update AdSupportIOS.js 2017-04-28 06:34:21 -07:00
Alert Export Alert's type ButtonsArray for external use 2017-03-06 12:44:47 -08:00
Animated Update AnimatedImplementation.js 2017-07-11 12:31:15 -07:00
AppState Added stubs for some native modules 2017-06-01 08:31:19 -07:00
BatchedBridge Make a method used externaly (in a test) public 2017-07-03 07:53:58 -07:00
BugReporting Patch up for future React Sync 2017-02-08 14:50:43 -08:00
CameraRoll Update remaining PropTypes references 2017-06-12 16:03:09 -07:00
Components Enable flow for TouchableHighlight 2017-07-12 04:15:41 -07:00
Core Remove unused RCTDebugComponentOwnership 2017-07-07 12:04:04 -07:00
EventEmitter Allow lazy modules registration with the BatchedBridge 2017-06-06 07:07:19 -07:00
Experimental Support for preventing swipe left or swipe right 2017-07-07 20:03:20 -07:00
Geolocation fix error caused by first argument short when calling warning function 2017-06-22 08:46:43 -07:00
Image Update OSS Fresco dependency 2017-07-12 07:54:09 -07:00
Inspector Use fixed point in inspector 2017-07-06 14:52:28 -07:00
Interaction Move jest to version 20 2017-06-14 12:48:22 -07:00
JSInspector Add Network agent 2016-11-02 12:29:15 -07:00
LayoutAnimation Fix prop-types warning in LayoutAnimation 2017-05-12 15:06:17 -07:00
Linking Add newly recommended method for RCTLinkingManager due to deprecation 2017-05-25 11:31:23 -07:00
LinkingIOS Add newly recommended method for RCTLinkingManager due to deprecation 2017-05-25 11:31:23 -07:00
Lists Be able to scroll to last item in list 2017-07-13 00:03:51 -07:00
Modal iOS `presentationStyle` Modal Appearance 2017-06-20 19:22:57 -07:00
NativeAnimation Native Animated - Support Animated.loop on iOS 2017-05-26 03:30:33 -07:00
Network Removing @nolint from flow files 2017-07-12 14:09:54 -07:00
Performance Remove unused RCTRenderingPerf 2017-06-22 09:01:04 -07:00
PermissionsAndroid Include Create React Native App in Getting Started 2017-04-26 07:16:18 -07:00
PushNotificationIOS Rename _remoteNotificationCompleteCalllbackCalled to _remoteNotificationCompleteCallbackCalled 2017-07-11 11:06:21 -07:00
RCTTest Fixing compiler warning 2017-06-05 23:30:34 -07:00
ReactNative Support native ViewManager inheritance on iOS 2017-07-10 16:01:12 -07:00
Renderer React sync for revisions 4aea7c3...cb32253 2017-06-26 15:15:59 -07:00
Sample Fix missing RCTBridgeModule.h 2017-01-31 11:13:50 -08:00
Settings Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
Share Flowify Process Color 2017-04-26 11:31:56 -07:00
Storage correctly order ASyncStorage 2017-02-21 15:18:40 -08:00
StyleSheet Enable flow for TouchableHighlight 2017-07-12 04:15:41 -07:00
Text Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
Utilities remove disableAutomock from jest tests (new default) @bypass-lint 2017-06-13 15:04:09 -07:00
Vibration Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
WebSocket Make startup errors in the websocket executor invalidate the bridge 2017-06-22 08:37:13 -07:00
polyfills Move polyfills to react-native 2017-07-11 03:47:16 -07:00
react-native MaskedViewIOS -- A way to apply alpha masks to views on iOS 2017-07-11 15:05:57 -07:00
vendor RN: Remove lodash (Attempt 2) 2017-06-16 18:15:17 -07:00
Promise.js Don't require prettyFormat in every single bundle. 2017-06-16 04:31:56 -07:00
promiseRejectionIsError.js RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00