mirror of
https://github.com/status-im/react-native.git
synced 2025-02-27 16:40:38 +00:00
Summary: The offset is cached so it doesn't need to calculate the entire height on each scroll, but the cached value was being thrown away when you scroll up -- this fixes that. Found this because it was breaking an infinite scroll view that depended on the contentOffset.y value reported from onScroll. Closes https://github.com/facebook/react-native/pull/5278 Reviewed By: svcscm Differential Revision: D2827556 Pulled By: dmmiller fb-gh-sync-id: 0897b89de427cada7389113991444f57c970f980