{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/9755","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/9755/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/9755/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/9755/events","html_url":"https://github.com/facebook/react-native/pull/9755","id":175187415,"number":9755,"title":"ViewPagerAndroid: FIX folly::toJson: JSON object value was a NaN or INF","user":{"login":"leeight","id":104052,"avatar_url":"https://avatars.githubusercontent.com/u/104052?v=3","gravatar_id":"","url":"https://api.github.com/users/leeight","html_url":"https://github.com/leeight","followers_url":"https://api.github.com/users/leeight/followers","following_url":"https://api.github.com/users/leeight/following{/other_user}","gists_url":"https://api.github.com/users/leeight/gists{/gist_id}","starred_url":"https://api.github.com/users/leeight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leeight/subscriptions","organizations_url":"https://api.github.com/users/leeight/orgs","repos_url":"https://api.github.com/users/leeight/repos","events_url":"https://api.github.com/users/leeight/events{/privacy}","received_events_url":"https://api.github.com/users/leeight/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/react-native/labels/CLA%20Signed","name":"CLA Signed","color":"e7e7e7"},{"url":"https://api.github.com/repos/facebook/react-native/labels/GH%20Review:%20needs-revision","name":"GH Review: needs-revision","color":"e11d21"},{"url":"https://api.github.com/repos/facebook/react-native/labels/GH%20Review:%20review-needed","name":"GH Review: review-needed","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-09-06T08:21:37Z","updated_at":"2016-09-09T06:20:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/react-native/pulls/9755","html_url":"https://github.com/facebook/react-native/pull/9755","diff_url":"https://github.com/facebook/react-native/pull/9755.diff","patch_url":"https://github.com/facebook/react-native/pull/9755.patch"},"body":"Explain the **motivation** for making this change. What existing problem does the pull request solve?\r\n\r\nUnder certain scenario, `PageScrollEvent.offset` was initialized to `NaN`, which cause `folly::toJson` failed, and FIX #9750 \r\n\r\n<https://github.com/android/platform_frameworks_base/blob/e71ecb2c4df15f727f51a0e1b65459f071853e35/core/java/com/android/internal/widget/ViewPager.java#L1689>\r\n\r\n![image](https://cloud.githubusercontent.com/assets/104052/18266416/2a01f882-744d-11e6-86c4-3a2de3a1ca25.png)\r\n\r\n**Test plan (required)**\r\n\r\n<http://stackoverflow.com/questions/39327429/reactnative-viewpagerandroid-rcteventemitter>"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/245829173","html_url":"https://github.com/facebook/react-native/pull/9755#issuecomment-245829173","issue_url":"https://api.github.com/repos/facebook/react-native/issues/9755","id":245829173,"user":{"login":"leeight","id":104052,"avatar_url":"https://avatars.githubusercontent.com/u/104052?v=3","gravatar_id":"","url":"https://api.github.com/users/leeight","html_url":"https://github.com/leeight","followers_url":"https://api.github.com/users/leeight/followers","following_url":"https://api.github.com/users/leeight/following{/other_user}","gists_url":"https://api.github.com/users/leeight/gists{/gist_id}","starred_url":"https://api.github.com/users/leeight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leeight/subscriptions","organizations_url":"https://api.github.com/users/leeight/orgs","repos_url":"https://api.github.com/users/leeight/repos","events_url":"https://api.github.com/users/leeight/events{/privacy}","received_events_url":"https://api.github.com/users/leeight/received_events","type":"User","site_admin":false},"created_at":"2016-09-09T06:20:23Z","updated_at":"2016-09-09T06:20:23Z","body":"@mkonicek @andreicoman11 \r\n\r\nBut if initialPage was initialized by `0`, `if (this.props.initialPage)` was not our expected."}}
{"actor":{"display_login":"leeight"}}