{"action":"opened","number":3729,"pull_request":{"url":"https://api.github.com/repos/facebook/react-native/pulls/3729","id":48930735,"html_url":"https://github.com/facebook/react-native/pull/3729","diff_url":"https://github.com/facebook/react-native/pull/3729.diff","patch_url":"https://github.com/facebook/react-native/pull/3729.patch","issue_url":"https://api.github.com/repos/facebook/react-native/issues/3729","number":3729,"state":"open","locked":false,"title":"Correct scrollEventThrottle docs","user":{"login":"nickhudkins","id":299126,"avatar_url":"https://avatars.githubusercontent.com/u/299126?v=3","gravatar_id":"","url":"https://api.github.com/users/nickhudkins","html_url":"https://github.com/nickhudkins","followers_url":"https://api.github.com/users/nickhudkins/followers","following_url":"https://api.github.com/users/nickhudkins/following{/other_user}","gists_url":"https://api.github.com/users/nickhudkins/gists{/gist_id}","starred_url":"https://api.github.com/users/nickhudkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickhudkins/subscriptions","organizations_url":"https://api.github.com/users/nickhudkins/orgs","repos_url":"https://api.github.com/users/nickhudkins/repos","events_url":"https://api.github.com/users/nickhudkins/events{/privacy}","received_events_url":"https://api.github.com/users/nickhudkins/received_events","type":"User","site_admin":false},"body":"The docs indicated that a higher number was more accurate, however based on the implementation:\r\n\r\n```\r\n  /**\r\n   * TODO: this logic looks wrong, and it may be because it is. Currently, if _scrollEventThrottle\r\n   * is set to zero (the default), the \"didScroll\" event is only sent once per scroll, instead of repeatedly\r\n   * while scrolling as expected. However, if you \"fix\" that bug, ScrollView will generate repeated\r\n   * warnings, and behave strangely (ListView works fine however), so don't fix it unless you fix that too!\r\n   */\r\n  if (_allowNextScrollNoMatterWhat ||\r\n      (_scrollEventThrottle > 0 && _scrollEventThrottle < (now - _lastScrollDispatchTime)))\r\n```\r\nhttps://github.com/facebook/react-native/blob/master/React/Views/RCTScrollView.m#L564\r\n\r\nIt appears that only 0 is a special case here, and perhaps a known issue ;)","created_at":"2015-10-27T20:54:04Z","updated_at":"2015-10-27T20:54:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/facebook/react-native/pulls/3729/commits","review_comments_url":"https://api.github.com/repos/facebook/react-native/pulls/3729/comments","review_comment_url":"https://api.github.com/repos/facebook/react-native/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/3729/comments","statuses_url":"https://api.github.com/repos/facebook/react-native/statuses/394f28be0527a3b0594f8af0dc7cb64f24c1800e","head":{"label":"nickhudkins:patch-1","ref":"patch-1","sha":"394f28be0527a3b0594f8af0dc7cb64f24c1800e","user":{"login":"nickhudkins","id":299126,"avatar_url":"https://avatars.githubusercontent.com/u/299126?v=3","gravatar_id":"","url":"https://api.github.com/users/nickhudkins","html_url":"https://github.com/nickhudkins","followers_url":"https://api.github.com/users/nickhudkins/followers","following_url":"https://api.github.com/users/nickhudkins/following{/other_user}","gists_url":"https://api.github.com/users/nickhudkins/gists{/gist_id}","starred_url":"https://api.github.com/users/nickhudkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickhudkins/subscriptions","organizations_url":"https://api.github.com/users/nickhudkins/orgs","repos_url":"https://api.github.com/users/nickhudkins/repos","events_url":"https://api.github.com/users/nickhudkins/events{/privacy}","received_events_url":"https://api.github.com/users/nickhudkins/received_events","type":"User","site_admin":false},"repo":{"id":42310398,"name":"react-native","full_name":"nickhudkins/react-native","owner":{"login":"nickhudkins","id":299126,"avatar_url":"https://avatars.githubusercontent.com/u/299126?v=3","gravatar_id":"","url":"https://api.github.com/users/nickhudkins","html_url":"https://github.com/nickhudkins","followers_url":"https://api.github.com/users/nickhudkins/followers","following_url":"https://api.github.com/users/nickhudkins/following{/other_user}","gists_url":"https://api.github.com/users/nickhudkins/gists{/gist_id}","starred_url":"https://api.github.com/users/nickhudkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickhudkins/subscriptions","organizations_url":"https://api.github.com/users/nickhudkins/orgs","repos_url":"https://api.github.com/users/nickhudkins/repos","events_url":"https://api.github.com/users/nickhudkins/events{/privacy}","received_events_url":"https://api.github.com/users/nickhudkins/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nickhudkins/react-native","description":"A framework for building native apps with React.","fork":true,"url":"https://api.github.com/repos/nickhudkins/react-native","forks_url":"https://api.github.com/repos/nickhudkins/react-native/forks","keys_url":"https://api.github.com/repos/nickhudkins/react-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nickhudkins/react-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nickhudkins/react-native/teams","hooks_url":"https://api.github.com/repos/nickhudkins/react-native/hooks","issue_events_url":"https://api.github.com/repos/nickhudkins/react-native/issues/events{/number}","events_url":"https://api.github.com/repos/nickhudkins/react-native/events","assignees_url":"https://api.github.com/repos/nickhudkins/react-native/assignees{/user}","branches_url":"https://api.github.com/repos/nickhudkins/react-native/branches{/branch}","tags_url":"https://api.github.com/repos/nickhudkins/react-native/tags","blobs_url":"https://api.github.com/repos/nickhudkins/react-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nickhudkins/react-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nickhudkins/react-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/nickhudkins/react-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nickhudkins/react-native/statuses/{sha}","languages_url":"https://api.github.com/repos/nickhudkins/react-native/languages","stargazers_url":"https://api.github.com/repos/nickhudkins/react-native/stargazers","contributors_url":"https://api.github.com/repos/nickhudkins/react-native/contributors","subscribers_url":"https://api.github.com/repos/nickhudkins/react-native/subscribers","subscription_url":"https://api.github.com/repos/nickhudkins/react-native/subscription","commits_url":"https://api.github.com/repos/nickhudkins/react-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/nickhudkins/react-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/nickhudkins/react-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/nickhudkins/react-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/nickhudkins/react-native/contents/{+path}","compare_url":"https://api.github.com/repos/nickhudkins/react-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nickhudkins/react-native/merges","archive_url":"https://api.github.com/repos/nickhudkins/react-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nickhudkins/react-native/downloads","issues_url":"https://api.github.com/repos/nickhudkins/react-native/issues{/number}","pulls_url":"https://api.github.com/repos/nickhudkins/react-native/pulls{/number}","milestones_url":"https://api.github.com/repos/nickhudkins/react-native/milestones{/number}","notifications_url":"https://api.github.com/repos/nickhudkins/react-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nickhudkins/react-native/labels{/name}","releases_url":"https://api.github.com/repos/nickhudkins/react-native/releases{/id}","created_at":"2015-09-11T13:35:16Z","updated_at":"2015-09-11T13:35:18Z","pushed_at":"2015-10-27T20:53:30Z","git_url":"git://github.com/nickhudkins/react-native.git","ssh_url":"git@github.com:nickhudkins/react-native.git","clone_url":"https://github.com/nickhudkins/react-native.git","svn_url":"https://github.com/nickhudkins/react-native","homepage":"http://facebook.github.io/react-native/","size":25970,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"0f92639a965496bcfe9cffa493657b091ae97187","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":29028775,"name":"react-native","full_name":"facebook/react-native","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/react-native","description":"A framework for building native apps with React.","fork":false,"url":"https://api.github.com/repos/facebook/react-native","forks_url":"https://api.github.com/repos/facebook/react-native/forks","keys_url":"https://api.github.com/repos/facebook/react-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/react-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/react-native/teams","hooks_url":"https://api.github.com/repos/facebook/react-native/hooks","issue_events_url":"https://api.github.com/repos/facebook/react-native/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/react-native/events","assignees_url":"https://api.github.com/repos/facebook/react-native/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/react-native/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/react-native/tags","blobs_url":"https://api.github.com/repos/facebook/react-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/react-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/react-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/react-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/react-native/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/react-native/languages","stargazers_url":"https://api.github.com/repos/facebook/react-native/stargazers","contributors_url":"https://api.github.com/repos/facebook/react-native/contributors","subscribers_url":"https://api.github.com/repos/facebook/react-native/subscribers","subscription_url":"https://api.github.com/repos/facebook/react-native/subscription","commits_url":"https://api.github.com/repos/facebook/react-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/react-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/react-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/react-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/react-native/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/react-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/react-native/merges","archive_url":"https://api.github.com/repos/facebook/react-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/react-native/downloads","issues_url":"https://api.github.com/repos/facebook/react-native/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/react-native/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/react-native/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/react-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/react-native/labels{/name}","releases_url":"https://api.github.com/repos/facebook/react-native/releases{/id}","created_at":"2015-01-09T18:10:16Z","updated_at":"2015-10-27T20:52:31Z","pushed_at":"2015-10-27T20:03:30Z","git_url":"git://github.com/facebook/react-native.git","ssh_url":"git@github.com:facebook/react-native.git","clone_url":"https://github.com/facebook/react-native.git","svn_url":"https://github.com/facebook/react-native","homepage":"http://facebook.github.io/react-native/","size":67876,"stargazers_count":21511,"watchers_count":21511,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3261,"mirror_url":null,"open_issues_count":835,"forks":3261,"open_issues":835,"watchers":21511,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/react-native/pulls/3729"},"html":{"href":"https://github.com/facebook/react-native/pull/3729"},"issue":{"href":"https://api.github.com/repos/facebook/react-native/issues/3729"},"comments":{"href":"https://api.github.com/repos/facebook/react-native/issues/3729/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/react-native/pulls/3729/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/react-native/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/react-native/pulls/3729/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/react-native/statuses/394f28be0527a3b0594f8af0dc7cb64f24c1800e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}