mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
6efe8e1d81
Summary: Explain the **motivation** for making this change. What existing problem does the pull request solve? Under certain scenario, `PageScrollEvent.offset` was initialized to `NaN`, which cause `folly::toJson` failed, and FIX #9750 <https://github.com/android/platform_frameworks_base/blob/e71ecb2c4df15f727f51a0e1b65459f071853e35/core/java/com/android/internal/widget/ViewPager.java#L1689>  **Test plan (required)** <http://stackoverflow.com/questions/39327429/reactnative-viewpagerandroid-rcteventemitter> Closes https://github.com/facebook/react-native/pull/9755 Differential Revision: D3841674 Pulled By: andreicoman11 fbshipit-source-id: d4cd9f4b2f61daad9005a098161ad7f75555345d