{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material/issues/1528","labels_url":"https://api.github.com/repos/angular/material/issues/1528/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/1528/comments","events_url":"https://api.github.com/repos/angular/material/issues/1528/events","html_url":"https://github.com/angular/material/issues/1528","id":57773127,"number":1528,"title":"shouldHijackClicks does not work (when associated with ionic?)","user":{"login":"shprink","id":1388706,"avatar_url":"https://avatars.githubusercontent.com/u/1388706?v=3","gravatar_id":"","url":"https://api.github.com/users/shprink","html_url":"https://github.com/shprink","followers_url":"https://api.github.com/users/shprink/followers","following_url":"https://api.github.com/users/shprink/following{/other_user}","gists_url":"https://api.github.com/users/shprink/gists{/gist_id}","starred_url":"https://api.github.com/users/shprink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shprink/subscriptions","organizations_url":"https://api.github.com/users/shprink/orgs","repos_url":"https://api.github.com/users/shprink/repos","events_url":"https://api.github.com/users/shprink/events{/privacy}","received_events_url":"https://api.github.com/users/shprink/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/material/labels/conflict","name":"conflict","color":"d4c5f9"},{"url":"https://api.github.com/repos/angular/material/labels/gestures","name":"gestures","color":"c7def8"}],"state":"open","locked":false,"assignee":{"login":"kennethcachia","id":1843777,"avatar_url":"https://avatars.githubusercontent.com/u/1843777?v=3","gravatar_id":"","url":"https://api.github.com/users/kennethcachia","html_url":"https://github.com/kennethcachia","followers_url":"https://api.github.com/users/kennethcachia/followers","following_url":"https://api.github.com/users/kennethcachia/following{/other_user}","gists_url":"https://api.github.com/users/kennethcachia/gists{/gist_id}","starred_url":"https://api.github.com/users/kennethcachia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennethcachia/subscriptions","organizations_url":"https://api.github.com/users/kennethcachia/orgs","repos_url":"https://api.github.com/users/kennethcachia/repos","events_url":"https://api.github.com/users/kennethcachia/events{/privacy}","received_events_url":"https://api.github.com/users/kennethcachia/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/angular/material/milestones/11","html_url":"https://github.com/angular/material/milestones/Backlog","labels_url":"https://api.github.com/repos/angular/material/milestones/11/labels","id":865967,"number":11,"title":"Backlog","description":"Grouping for issues that have been reviewed and require further information before assignment to milestone is possible.","creator":{"login":"ThomasBurleson","id":210413,"avatar_url":"https://avatars.githubusercontent.com/u/210413?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasBurleson","html_url":"https://github.com/ThomasBurleson","followers_url":"https://api.github.com/users/ThomasBurleson/followers","following_url":"https://api.github.com/users/ThomasBurleson/following{/other_user}","gists_url":"https://api.github.com/users/ThomasBurleson/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasBurleson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasBurleson/subscriptions","organizations_url":"https://api.github.com/users/ThomasBurleson/orgs","repos_url":"https://api.github.com/users/ThomasBurleson/repos","events_url":"https://api.github.com/users/ThomasBurleson/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasBurleson/received_events","type":"User","site_admin":false},"open_issues":140,"closed_issues":50,"state":"open","created_at":"2014-11-14T00:54:02Z","updated_at":"2015-04-26T13:33:42Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2015-02-16T07:32:40Z","updated_at":"2015-04-28T16:26:05Z","closed_at":null,"body":"the function:\r\n\r\n```\r\nif (shouldHijackClicks) {\r\n  document.addEventListener('click', function(ev) {\r\n    // Space/enter on a button, and submit events, can send clicks\r\n    var isKeyClick = ev.clientX === 0 && ev.clientY === 0;\r\n    if (isKeyClick || ev.$material) return;\r\n\r\n    // Prevent clicks unless they're sent by material\r\n    ev.preventDefault();\r\n    ev.stopPropagation();\r\n  }, true);\r\n}\r\n```\r\n\r\nhttps://github.com/angular/material/blob/6ffc53374f2a28faee24c1ec24f5cc21211e1e75/src/core/services/gesture/gesture.js#L23\r\n\r\ndoes not work when using Android or IOS. It easily reproductible using Chrome dev tools. Try Nexus 5 or Iphone 6 and you will see that none of the button, link etc work..\r\n\r\nWhen I comment the above code it works as expected.\r\n\r\nUsing Angular 1.3.13, Ionic beta14 and Material 8.0.1-rc1\r\n\r\nHope it helps :)"},"comment":{"url":"https://api.github.com/repos/angular/material/issues/comments/97126698","html_url":"https://github.com/angular/material/issues/1528#issuecomment-97126698","issue_url":"https://api.github.com/repos/angular/material/issues/1528","id":97126698,"user":{"login":"mjw56","id":161528,"avatar_url":"https://avatars.githubusercontent.com/u/161528?v=3","gravatar_id":"","url":"https://api.github.com/users/mjw56","html_url":"https://github.com/mjw56","followers_url":"https://api.github.com/users/mjw56/followers","following_url":"https://api.github.com/users/mjw56/following{/other_user}","gists_url":"https://api.github.com/users/mjw56/gists{/gist_id}","starred_url":"https://api.github.com/users/mjw56/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjw56/subscriptions","organizations_url":"https://api.github.com/users/mjw56/orgs","repos_url":"https://api.github.com/users/mjw56/repos","events_url":"https://api.github.com/users/mjw56/events{/privacy}","received_events_url":"https://api.github.com/users/mjw56/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T16:26:05Z","updated_at":"2015-04-28T16:26:05Z","body":"Just ran into this issue on iOS with an ```md-select``` using ionic.\r\n\r\n+1 for the ```ev.isIonicTap```"}}