{"action":"created","comment":{"url":"https://api.github.com/repos/google/material-design-lite/pulls/comments/34029958","id":34029958,"diff_hunk":"@@ -76,6 +78,8 @@ MaterialTooltip.prototype.handleMouseLeave_ = function(event) {\n \n   event.stopPropagation();\n   this.element_.classList.remove(this.CssClasses_.IS_ACTIVE);\n+  window.removeEventListener('scroll', this.boundMouseLeaveHandler);\n+  window.removeEventListener('touchmove', this.boundMouseLeaveHandler, false);","path":"src/tooltip/tooltip.js","position":14,"original_position":14,"commit_id":"3cd74e393090d948a9c3f7ef43f2df6743cc8328","original_commit_id":"3cd74e393090d948a9c3f7ef43f2df6743cc8328","user":{"login":"surma","id":234957,"avatar_url":"https://avatars.githubusercontent.com/u/234957?v=3","gravatar_id":"","url":"https://api.github.com/users/surma","html_url":"https://github.com/surma","followers_url":"https://api.github.com/users/surma/followers","following_url":"https://api.github.com/users/surma/following{/other_user}","gists_url":"https://api.github.com/users/surma/gists{/gist_id}","starred_url":"https://api.github.com/users/surma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surma/subscriptions","organizations_url":"https://api.github.com/users/surma/orgs","repos_url":"https://api.github.com/users/surma/repos","events_url":"https://api.github.com/users/surma/events{/privacy}","received_events_url":"https://api.github.com/users/surma/received_events","type":"User","site_admin":false},"body":"Would you mind moving these to the `mdlDowngrade_()` like all the other event handlers?","created_at":"2015-07-07T11:25:37Z","updated_at":"2015-07-07T11:25:37Z","html_url":"https://github.com/google/material-design-lite/pull/765#discussion_r34029958","pull_request_url":"https://api.github.com/repos/google/material-design-lite/pulls/765","_links":{"self":{"href":"https://api.github.com/repos/google/material-design-lite/pulls/comments/34029958"},"html":{"href":"https://github.com/google/material-design-lite/pull/765#discussion_r34029958"},"pull_request":{"href":"https://api.github.com/repos/google/material-design-lite/pulls/765"}}},"pull_request":{"url":"https://api.github.com/repos/google/material-design-lite/pulls/765","id":39309881,"html_url":"https://github.com/google/material-design-lite/pull/765","diff_url":"https://github.com/google/material-design-lite/pull/765.diff","patch_url":"https://github.com/google/material-design-lite/pull/765.patch","issue_url":"https://api.github.com/repos/google/material-design-lite/issues/765","number":765,"state":"open","locked":false,"title":"Hiding tooltips on scroll","user":{"login":"herschel666","id":520258,"avatar_url":"https://avatars.githubusercontent.com/u/520258?v=3","gravatar_id":"","url":"https://api.github.com/users/herschel666","html_url":"https://github.com/herschel666","followers_url":"https://api.github.com/users/herschel666/followers","following_url":"https://api.github.com/users/herschel666/following{/other_user}","gists_url":"https://api.github.com/users/herschel666/gists{/gist_id}","starred_url":"https://api.github.com/users/herschel666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herschel666/subscriptions","organizations_url":"https://api.github.com/users/herschel666/orgs","repos_url":"https://api.github.com/users/herschel666/repos","events_url":"https://api.github.com/users/herschel666/events{/privacy}","received_events_url":"https://api.github.com/users/herschel666/received_events","type":"User","site_admin":false},"body":"I experienced the tooltip to stay visible, during scrolling (FF 39, MacBook Pro OS X 10.10.3, touchpad). To fix this, I added an event-listener & hide the tooltip on scrolling.","created_at":"2015-07-06T20:56:53Z","updated_at":"2015-07-07T11:25:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f2b1da931723d29e90c147a05c19cd29b4a1877","assignee":{"login":"surma","id":234957,"avatar_url":"https://avatars.githubusercontent.com/u/234957?v=3","gravatar_id":"","url":"https://api.github.com/users/surma","html_url":"https://github.com/surma","followers_url":"https://api.github.com/users/surma/followers","following_url":"https://api.github.com/users/surma/following{/other_user}","gists_url":"https://api.github.com/users/surma/gists{/gist_id}","starred_url":"https://api.github.com/users/surma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surma/subscriptions","organizations_url":"https://api.github.com/users/surma/orgs","repos_url":"https://api.github.com/users/surma/repos","events_url":"https://api.github.com/users/surma/events{/privacy}","received_events_url":"https://api.github.com/users/surma/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/google/material-design-lite/pulls/765/commits","review_comments_url":"https://api.github.com/repos/google/material-design-lite/pulls/765/comments","review_comment_url":"https://api.github.com/repos/google/material-design-lite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/material-design-lite/issues/765/comments","statuses_url":"https://api.github.com/repos/google/material-design-lite/statuses/3cd74e393090d948a9c3f7ef43f2df6743cc8328","head":{"label":"herschel666:hide-tooltip-on-scroll","ref":"hide-tooltip-on-scroll","sha":"3cd74e393090d948a9c3f7ef43f2df6743cc8328","user":{"login":"herschel666","id":520258,"avatar_url":"https://avatars.githubusercontent.com/u/520258?v=3","gravatar_id":"","url":"https://api.github.com/users/herschel666","html_url":"https://github.com/herschel666","followers_url":"https://api.github.com/users/herschel666/followers","following_url":"https://api.github.com/users/herschel666/following{/other_user}","gists_url":"https://api.github.com/users/herschel666/gists{/gist_id}","starred_url":"https://api.github.com/users/herschel666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herschel666/subscriptions","organizations_url":"https://api.github.com/users/herschel666/orgs","repos_url":"https://api.github.com/users/herschel666/repos","events_url":"https://api.github.com/users/herschel666/events{/privacy}","received_events_url":"https://api.github.com/users/herschel666/received_events","type":"User","site_admin":false},"repo":{"id":38643110,"name":"material-design-lite","full_name":"herschel666/material-design-lite","owner":{"login":"herschel666","id":520258,"avatar_url":"https://avatars.githubusercontent.com/u/520258?v=3","gravatar_id":"","url":"https://api.github.com/users/herschel666","html_url":"https://github.com/herschel666","followers_url":"https://api.github.com/users/herschel666/followers","following_url":"https://api.github.com/users/herschel666/following{/other_user}","gists_url":"https://api.github.com/users/herschel666/gists{/gist_id}","starred_url":"https://api.github.com/users/herschel666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herschel666/subscriptions","organizations_url":"https://api.github.com/users/herschel666/orgs","repos_url":"https://api.github.com/users/herschel666/repos","events_url":"https://api.github.com/users/herschel666/events{/privacy}","received_events_url":"https://api.github.com/users/herschel666/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/herschel666/material-design-lite","description":"Material Design Lite Components in HTML/CSS/JS","fork":true,"url":"https://api.github.com/repos/herschel666/material-design-lite","forks_url":"https://api.github.com/repos/herschel666/material-design-lite/forks","keys_url":"https://api.github.com/repos/herschel666/material-design-lite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/herschel666/material-design-lite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/herschel666/material-design-lite/teams","hooks_url":"https://api.github.com/repos/herschel666/material-design-lite/hooks","issue_events_url":"https://api.github.com/repos/herschel666/material-design-lite/issues/events{/number}","events_url":"https://api.github.com/repos/herschel666/material-design-lite/events","assignees_url":"https://api.github.com/repos/herschel666/material-design-lite/assignees{/user}","branches_url":"https://api.github.com/repos/herschel666/material-design-lite/branches{/branch}","tags_url":"https://api.github.com/repos/herschel666/material-design-lite/tags","blobs_url":"https://api.github.com/repos/herschel666/material-design-lite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/herschel666/material-design-lite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/herschel666/material-design-lite/git/refs{/sha}","trees_url":"https://api.github.com/repos/herschel666/material-design-lite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/herschel666/material-design-lite/statuses/{sha}","languages_url":"https://api.github.com/repos/herschel666/material-design-lite/languages","stargazers_url":"https://api.github.com/repos/herschel666/material-design-lite/stargazers","contributors_url":"https://api.github.com/repos/herschel666/material-design-lite/contributors","subscribers_url":"https://api.github.com/repos/herschel666/material-design-lite/subscribers","subscription_url":"https://api.github.com/repos/herschel666/material-design-lite/subscription","commits_url":"https://api.github.com/repos/herschel666/material-design-lite/commits{/sha}","git_commits_url":"https://api.github.com/repos/herschel666/material-design-lite/git/commits{/sha}","comments_url":"https://api.github.com/repos/herschel666/material-design-lite/comments{/number}","issue_comment_url":"https://api.github.com/repos/herschel666/material-design-lite/issues/comments{/number}","contents_url":"https://api.github.com/repos/herschel666/material-design-lite/contents/{+path}","compare_url":"https://api.github.com/repos/herschel666/material-design-lite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/herschel666/material-design-lite/merges","archive_url":"https://api.github.com/repos/herschel666/material-design-lite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/herschel666/material-design-lite/downloads","issues_url":"https://api.github.com/repos/herschel666/material-design-lite/issues{/number}","pulls_url":"https://api.github.com/repos/herschel666/material-design-lite/pulls{/number}","milestones_url":"https://api.github.com/repos/herschel666/material-design-lite/milestones{/number}","notifications_url":"https://api.github.com/repos/herschel666/material-design-lite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/herschel666/material-design-lite/labels{/name}","releases_url":"https://api.github.com/repos/herschel666/material-design-lite/releases{/id}","created_at":"2015-07-06T20:07:38Z","updated_at":"2015-07-06T20:07:38Z","pushed_at":"2015-07-07T07:26:19Z","git_url":"git://github.com/herschel666/material-design-lite.git","ssh_url":"git@github.com:herschel666/material-design-lite.git","clone_url":"https://github.com/herschel666/material-design-lite.git","svn_url":"https://github.com/herschel666/material-design-lite","homepage":"http://getmdl.io","size":44150,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":false,"has_wiki":true,"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":"google:master","ref":"master","sha":"b4fcc2176e2606b2d0399d11cc53d03183de5db9","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":29268051,"name":"material-design-lite","full_name":"google/material-design-lite","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/material-design-lite","description":"Material Design Lite Components in HTML/CSS/JS","fork":false,"url":"https://api.github.com/repos/google/material-design-lite","forks_url":"https://api.github.com/repos/google/material-design-lite/forks","keys_url":"https://api.github.com/repos/google/material-design-lite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/material-design-lite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/material-design-lite/teams","hooks_url":"https://api.github.com/repos/google/material-design-lite/hooks","issue_events_url":"https://api.github.com/repos/google/material-design-lite/issues/events{/number}","events_url":"https://api.github.com/repos/google/material-design-lite/events","assignees_url":"https://api.github.com/repos/google/material-design-lite/assignees{/user}","branches_url":"https://api.github.com/repos/google/material-design-lite/branches{/branch}","tags_url":"https://api.github.com/repos/google/material-design-lite/tags","blobs_url":"https://api.github.com/repos/google/material-design-lite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/material-design-lite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/material-design-lite/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/material-design-lite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/material-design-lite/statuses/{sha}","languages_url":"https://api.github.com/repos/google/material-design-lite/languages","stargazers_url":"https://api.github.com/repos/google/material-design-lite/stargazers","contributors_url":"https://api.github.com/repos/google/material-design-lite/contributors","subscribers_url":"https://api.github.com/repos/google/material-design-lite/subscribers","subscription_url":"https://api.github.com/repos/google/material-design-lite/subscription","commits_url":"https://api.github.com/repos/google/material-design-lite/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/material-design-lite/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/material-design-lite/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/material-design-lite/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/material-design-lite/contents/{+path}","compare_url":"https://api.github.com/repos/google/material-design-lite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/material-design-lite/merges","archive_url":"https://api.github.com/repos/google/material-design-lite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/material-design-lite/downloads","issues_url":"https://api.github.com/repos/google/material-design-lite/issues{/number}","pulls_url":"https://api.github.com/repos/google/material-design-lite/pulls{/number}","milestones_url":"https://api.github.com/repos/google/material-design-lite/milestones{/number}","notifications_url":"https://api.github.com/repos/google/material-design-lite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/material-design-lite/labels{/name}","releases_url":"https://api.github.com/repos/google/material-design-lite/releases{/id}","created_at":"2015-01-14T22:01:33Z","updated_at":"2015-07-07T11:24:47Z","pushed_at":"2015-07-07T11:24:43Z","git_url":"git://github.com/google/material-design-lite.git","ssh_url":"git@github.com:google/material-design-lite.git","clone_url":"https://github.com/google/material-design-lite.git","svn_url":"https://github.com/google/material-design-lite","homepage":"http://getmdl.io","size":51285,"stargazers_count":3552,"watchers_count":3552,"language":"CSS","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":280,"mirror_url":null,"open_issues_count":106,"forks":280,"open_issues":106,"watchers":3552,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/material-design-lite/pulls/765"},"html":{"href":"https://github.com/google/material-design-lite/pull/765"},"issue":{"href":"https://api.github.com/repos/google/material-design-lite/issues/765"},"comments":{"href":"https://api.github.com/repos/google/material-design-lite/issues/765/comments"},"review_comments":{"href":"https://api.github.com/repos/google/material-design-lite/pulls/765/comments"},"review_comment":{"href":"https://api.github.com/repos/google/material-design-lite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/material-design-lite/pulls/765/commits"},"statuses":{"href":"https://api.github.com/repos/google/material-design-lite/statuses/3cd74e393090d948a9c3f7ef43f2df6743cc8328"}}}}