{"action":"opened","number":4007,"pull_request":{"url":"https://api.github.com/repos/driftyco/ionic/pulls/4007","id":38822367,"html_url":"https://github.com/driftyco/ionic/pull/4007","diff_url":"https://github.com/driftyco/ionic/pull/4007.diff","patch_url":"https://github.com/driftyco/ionic/pull/4007.patch","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/4007","number":4007,"state":"open","locked":false,"title":"fix(scrollView): reset scroll view when focusing non-keyboard element","user":{"login":"ajcrites","id":1308273,"avatar_url":"https://avatars.githubusercontent.com/u/1308273?v=3","gravatar_id":"","url":"https://api.github.com/users/ajcrites","html_url":"https://github.com/ajcrites","followers_url":"https://api.github.com/users/ajcrites/followers","following_url":"https://api.github.com/users/ajcrites/following{/other_user}","gists_url":"https://api.github.com/users/ajcrites/gists{/gist_id}","starred_url":"https://api.github.com/users/ajcrites/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajcrites/subscriptions","organizations_url":"https://api.github.com/users/ajcrites/orgs","repos_url":"https://api.github.com/users/ajcrites/repos","events_url":"https://api.github.com/users/ajcrites/events{/privacy}","received_events_url":"https://api.github.com/users/ajcrites/received_events","type":"User","site_admin":false},"body":"Focusing a keyboard element sets `keyboardActiveElement`. If you blur,\r\nthis will trigger `resetScrollView` appropriately.\r\n\r\nIf you focus a non-keyboard element (such as a checkbox), `keyboardActiveElement` is set to\r\nnull *before* `keyboardHide` is called, so `resetScrollView` is not\r\ntriggered.\r\n\r\nMitigate this by keeping track of the last focused element to reset the\r\nscroll view.","created_at":"2015-06-29T21:58:01Z","updated_at":"2015-06-29T21:58:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/driftyco/ionic/pulls/4007/commits","review_comments_url":"https://api.github.com/repos/driftyco/ionic/pulls/4007/comments","review_comment_url":"https://api.github.com/repos/driftyco/ionic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/4007/comments","statuses_url":"https://api.github.com/repos/driftyco/ionic/statuses/c3faf60466f8dd308254523cb7998455c1177b81","head":{"label":"ajcrites:reset-scrollview-checkbox-focus","ref":"reset-scrollview-checkbox-focus","sha":"c3faf60466f8dd308254523cb7998455c1177b81","user":{"login":"ajcrites","id":1308273,"avatar_url":"https://avatars.githubusercontent.com/u/1308273?v=3","gravatar_id":"","url":"https://api.github.com/users/ajcrites","html_url":"https://github.com/ajcrites","followers_url":"https://api.github.com/users/ajcrites/followers","following_url":"https://api.github.com/users/ajcrites/following{/other_user}","gists_url":"https://api.github.com/users/ajcrites/gists{/gist_id}","starred_url":"https://api.github.com/users/ajcrites/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajcrites/subscriptions","organizations_url":"https://api.github.com/users/ajcrites/orgs","repos_url":"https://api.github.com/users/ajcrites/repos","events_url":"https://api.github.com/users/ajcrites/events{/privacy}","received_events_url":"https://api.github.com/users/ajcrites/received_events","type":"User","site_admin":false},"repo":{"id":38273186,"name":"ionic","full_name":"ajcrites/ionic","owner":{"login":"ajcrites","id":1308273,"avatar_url":"https://avatars.githubusercontent.com/u/1308273?v=3","gravatar_id":"","url":"https://api.github.com/users/ajcrites","html_url":"https://github.com/ajcrites","followers_url":"https://api.github.com/users/ajcrites/followers","following_url":"https://api.github.com/users/ajcrites/following{/other_user}","gists_url":"https://api.github.com/users/ajcrites/gists{/gist_id}","starred_url":"https://api.github.com/users/ajcrites/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajcrites/subscriptions","organizations_url":"https://api.github.com/users/ajcrites/orgs","repos_url":"https://api.github.com/users/ajcrites/repos","events_url":"https://api.github.com/users/ajcrites/events{/privacy}","received_events_url":"https://api.github.com/users/ajcrites/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ajcrites/ionic","description":"Advanced HTML5 mobile development framework and SDK. Build incredible hybrid apps with web technologies you already know and love. Best friends with AngularJS.","fork":true,"url":"https://api.github.com/repos/ajcrites/ionic","forks_url":"https://api.github.com/repos/ajcrites/ionic/forks","keys_url":"https://api.github.com/repos/ajcrites/ionic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ajcrites/ionic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ajcrites/ionic/teams","hooks_url":"https://api.github.com/repos/ajcrites/ionic/hooks","issue_events_url":"https://api.github.com/repos/ajcrites/ionic/issues/events{/number}","events_url":"https://api.github.com/repos/ajcrites/ionic/events","assignees_url":"https://api.github.com/repos/ajcrites/ionic/assignees{/user}","branches_url":"https://api.github.com/repos/ajcrites/ionic/branches{/branch}","tags_url":"https://api.github.com/repos/ajcrites/ionic/tags","blobs_url":"https://api.github.com/repos/ajcrites/ionic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ajcrites/ionic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ajcrites/ionic/git/refs{/sha}","trees_url":"https://api.github.com/repos/ajcrites/ionic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ajcrites/ionic/statuses/{sha}","languages_url":"https://api.github.com/repos/ajcrites/ionic/languages","stargazers_url":"https://api.github.com/repos/ajcrites/ionic/stargazers","contributors_url":"https://api.github.com/repos/ajcrites/ionic/contributors","subscribers_url":"https://api.github.com/repos/ajcrites/ionic/subscribers","subscription_url":"https://api.github.com/repos/ajcrites/ionic/subscription","commits_url":"https://api.github.com/repos/ajcrites/ionic/commits{/sha}","git_commits_url":"https://api.github.com/repos/ajcrites/ionic/git/commits{/sha}","comments_url":"https://api.github.com/repos/ajcrites/ionic/comments{/number}","issue_comment_url":"https://api.github.com/repos/ajcrites/ionic/issues/comments{/number}","contents_url":"https://api.github.com/repos/ajcrites/ionic/contents/{+path}","compare_url":"https://api.github.com/repos/ajcrites/ionic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ajcrites/ionic/merges","archive_url":"https://api.github.com/repos/ajcrites/ionic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ajcrites/ionic/downloads","issues_url":"https://api.github.com/repos/ajcrites/ionic/issues{/number}","pulls_url":"https://api.github.com/repos/ajcrites/ionic/pulls{/number}","milestones_url":"https://api.github.com/repos/ajcrites/ionic/milestones{/number}","notifications_url":"https://api.github.com/repos/ajcrites/ionic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ajcrites/ionic/labels{/name}","releases_url":"https://api.github.com/repos/ajcrites/ionic/releases{/id}","created_at":"2015-06-29T21:51:39Z","updated_at":"2015-06-29T21:51:44Z","pushed_at":"2015-06-29T21:57:38Z","git_url":"git://github.com/ajcrites/ionic.git","ssh_url":"git@github.com:ajcrites/ionic.git","clone_url":"https://github.com/ajcrites/ionic.git","svn_url":"https://github.com/ajcrites/ionic","homepage":"http://ionicframework.com/","size":62367,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"driftyco:master","ref":"master","sha":"d6431a7b975995cf8a7b979bd1712ff098da07f8","user":{"login":"driftyco","id":3171503,"avatar_url":"https://avatars.githubusercontent.com/u/3171503?v=3","gravatar_id":"","url":"https://api.github.com/users/driftyco","html_url":"https://github.com/driftyco","followers_url":"https://api.github.com/users/driftyco/followers","following_url":"https://api.github.com/users/driftyco/following{/other_user}","gists_url":"https://api.github.com/users/driftyco/gists{/gist_id}","starred_url":"https://api.github.com/users/driftyco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driftyco/subscriptions","organizations_url":"https://api.github.com/users/driftyco/orgs","repos_url":"https://api.github.com/users/driftyco/repos","events_url":"https://api.github.com/users/driftyco/events{/privacy}","received_events_url":"https://api.github.com/users/driftyco/received_events","type":"Organization","site_admin":false},"repo":{"id":12256376,"name":"ionic","full_name":"driftyco/ionic","owner":{"login":"driftyco","id":3171503,"avatar_url":"https://avatars.githubusercontent.com/u/3171503?v=3","gravatar_id":"","url":"https://api.github.com/users/driftyco","html_url":"https://github.com/driftyco","followers_url":"https://api.github.com/users/driftyco/followers","following_url":"https://api.github.com/users/driftyco/following{/other_user}","gists_url":"https://api.github.com/users/driftyco/gists{/gist_id}","starred_url":"https://api.github.com/users/driftyco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driftyco/subscriptions","organizations_url":"https://api.github.com/users/driftyco/orgs","repos_url":"https://api.github.com/users/driftyco/repos","events_url":"https://api.github.com/users/driftyco/events{/privacy}","received_events_url":"https://api.github.com/users/driftyco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/driftyco/ionic","description":"Advanced HTML5 mobile development framework and SDK. Build incredible hybrid apps with web technologies you already know and love. Best friends with AngularJS.","fork":false,"url":"https://api.github.com/repos/driftyco/ionic","forks_url":"https://api.github.com/repos/driftyco/ionic/forks","keys_url":"https://api.github.com/repos/driftyco/ionic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/driftyco/ionic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/driftyco/ionic/teams","hooks_url":"https://api.github.com/repos/driftyco/ionic/hooks","issue_events_url":"https://api.github.com/repos/driftyco/ionic/issues/events{/number}","events_url":"https://api.github.com/repos/driftyco/ionic/events","assignees_url":"https://api.github.com/repos/driftyco/ionic/assignees{/user}","branches_url":"https://api.github.com/repos/driftyco/ionic/branches{/branch}","tags_url":"https://api.github.com/repos/driftyco/ionic/tags","blobs_url":"https://api.github.com/repos/driftyco/ionic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/driftyco/ionic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/driftyco/ionic/git/refs{/sha}","trees_url":"https://api.github.com/repos/driftyco/ionic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/driftyco/ionic/statuses/{sha}","languages_url":"https://api.github.com/repos/driftyco/ionic/languages","stargazers_url":"https://api.github.com/repos/driftyco/ionic/stargazers","contributors_url":"https://api.github.com/repos/driftyco/ionic/contributors","subscribers_url":"https://api.github.com/repos/driftyco/ionic/subscribers","subscription_url":"https://api.github.com/repos/driftyco/ionic/subscription","commits_url":"https://api.github.com/repos/driftyco/ionic/commits{/sha}","git_commits_url":"https://api.github.com/repos/driftyco/ionic/git/commits{/sha}","comments_url":"https://api.github.com/repos/driftyco/ionic/comments{/number}","issue_comment_url":"https://api.github.com/repos/driftyco/ionic/issues/comments{/number}","contents_url":"https://api.github.com/repos/driftyco/ionic/contents/{+path}","compare_url":"https://api.github.com/repos/driftyco/ionic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/driftyco/ionic/merges","archive_url":"https://api.github.com/repos/driftyco/ionic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/driftyco/ionic/downloads","issues_url":"https://api.github.com/repos/driftyco/ionic/issues{/number}","pulls_url":"https://api.github.com/repos/driftyco/ionic/pulls{/number}","milestones_url":"https://api.github.com/repos/driftyco/ionic/milestones{/number}","notifications_url":"https://api.github.com/repos/driftyco/ionic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/driftyco/ionic/labels{/name}","releases_url":"https://api.github.com/repos/driftyco/ionic/releases{/id}","created_at":"2013-08-20T23:06:02Z","updated_at":"2015-06-29T21:42:10Z","pushed_at":"2015-06-29T21:58:02Z","git_url":"git://github.com/driftyco/ionic.git","ssh_url":"git@github.com:driftyco/ionic.git","clone_url":"https://github.com/driftyco/ionic.git","svn_url":"https://github.com/driftyco/ionic","homepage":"http://ionicframework.com/","size":62367,"stargazers_count":17549,"watchers_count":17549,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2783,"mirror_url":null,"open_issues_count":323,"forks":2783,"open_issues":323,"watchers":17549,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/driftyco/ionic/pulls/4007"},"html":{"href":"https://github.com/driftyco/ionic/pull/4007"},"issue":{"href":"https://api.github.com/repos/driftyco/ionic/issues/4007"},"comments":{"href":"https://api.github.com/repos/driftyco/ionic/issues/4007/comments"},"review_comments":{"href":"https://api.github.com/repos/driftyco/ionic/pulls/4007/comments"},"review_comment":{"href":"https://api.github.com/repos/driftyco/ionic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/driftyco/ionic/pulls/4007/commits"},"statuses":{"href":"https://api.github.com/repos/driftyco/ionic/statuses/c3faf60466f8dd308254523cb7998455c1177b81"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":2,"changed_files":1}}