react-native/Libraries/Lists
zongwan d217921b5e Update VirtualizedList.js, fix wrong position after scrollToEnd when props.refreshing === true
Summary:
Pull request again for clean branch

Thanks for submitting a PR! Please read these instructions carefully:

- [x] Explain the **motivation** for making this change.
- [x] Provide a **test plan** demonstrating that the code is solid.
- [x] Match the **code formatting** of the rest of the codebase.
- [x] Target the `master` branch, NOT a "stable" branch.

What existing problem does the pull request solve?
Fix #14033
Fix wrong position after `scrollToEnd` when `props.refreshing === true`

**Before**

![before](https://cloud.githubusercontent.com/assets/1185694/26242273/657f0180-3cba-11e7-9360-49269fd1bb2f.gif)

**After**

![after](https://cloud.githubusercontent.com/assets/1185694/26242503/465a856c-3cbb-11e7-98fb-f3256fd45c15.gif)

Sign the [CLA][2], if you haven't already.

Small pull requests are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it.

Make sure all **tests pass** on both [Travis][3] and [Circle CI][4]. PRs that break tests are unlikely to be merged.

For more info, see the ["Pull Requests"][5] section of our "Contributing" guidelines.

[1]: https://medium.com/martinkonicek/what-is-a-test-plan-8bfc840ec171#.y9lcuqqi9
[2]: https://code.facebook.com/cla
[3]: https://travis-ci.org/facebook/react-native
[4]: http://circleci.com/gh/facebook/react-native
[5]: https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md#pull-requests
Closes https://github.com/facebook/react-native/pull/14089

Differential Revision: D5283973

Pulled By: sahrens

fbshipit-source-id: 9bef9a922c15aa5bed11a59acbd7b48a76946d29
2017-06-20 19:01:27 -07:00
..
ListView prettier 2017-06-12 22:45:49 -07:00
__flowtests__ prettier 2017-06-12 22:45:49 -07:00
__tests__ remove disableAutomock from jest tests (new default) @bypass-lint 2017-06-13 15:04:09 -07:00
FillRateHelper.js prettier 2017-06-12 22:45:49 -07:00
FlatList.js Add setNativeProps 2017-06-20 09:34:55 -07:00
MetroListView.js Add setNativeProps 2017-06-20 09:34:55 -07:00
SectionList.js Add inverted option 2017-06-12 22:45:49 -07:00
ViewabilityHelper.js prettier 2017-06-12 22:45:49 -07:00
VirtualizeUtils.js prettier 2017-06-12 22:45:49 -07:00
VirtualizedList.js Update VirtualizedList.js, fix wrong position after scrollToEnd when props.refreshing === true 2017-06-20 19:01:27 -07:00
VirtualizedSectionList.js prettier 2017-06-12 22:45:49 -07:00