Files
react-native/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
..
2017-04-28 06:34:21 -07:00
2017-07-11 12:31:15 -07:00
2017-07-12 07:54:09 -07:00
2017-07-06 14:52:28 -07:00
2017-06-14 12:48:22 -07:00
2016-11-02 12:29:15 -07:00
2017-07-12 14:09:54 -07:00
2017-07-11 03:47:16 -07:00
2017-06-05 23:30:34 -07:00
2017-01-31 11:13:50 -08:00
2017-04-26 11:31:56 -07:00
2017-02-21 15:18:40 -08:00
2017-06-16 18:15:17 -07:00