react-native/React
Janic Duplessis 34389c529d Fix sticky headers position when scrolling while RefreshControl is refreshing
Summary:
When scrolling while RefreshControl is refreshing the sticky headers are offset by the height of the UIRefreshControl. This simply removes the height of the UIRefreshControl while it is refreshing and fixes the problem.

You can repro the bug using this example in UIExplorer by doing a pull to refresh and scrolling the ListView immediately after.
https://gist.github.com/janicduplessis/26b4f2758e90b2aa1620

Fixes #5405
Closes https://github.com/facebook/react-native/pull/5517

Reviewed By: svcscm

Differential Revision: D2895623

Pulled By: nicklockwood

fb-gh-sync-id: 81df36cccfc3e7b973c2be78565f8b8408c9fc12
2016-02-03 08:00:42 -08:00
..
Base Improve systrace markers 2016-02-03 07:11:35 -08:00
Executors Improve systrace markers 2016-02-03 07:11:35 -08:00
Layout updated css-layout and fixed callsites 2015-12-21 10:18:41 -08:00
Modules Hot Loading Indicators 2016-02-01 12:42:33 -08:00
Profiler Improve systrace markers 2016-02-03 07:11:35 -08:00
React.xcodeproj fix UIExplorer project 2016-02-03 07:10:33 -08:00
Views Fix sticky headers position when scrolling while RefreshControl is refreshing 2016-02-03 08:00:42 -08:00