{"action":"opened","issue":{"url":"https://api.github.com/repos/svgdotjs/svg.select.js/issues/46","repository_url":"https://api.github.com/repos/svgdotjs/svg.select.js","labels_url":"https://api.github.com/repos/svgdotjs/svg.select.js/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/svgdotjs/svg.select.js/issues/46/comments","events_url":"https://api.github.com/repos/svgdotjs/svg.select.js/issues/46/events","html_url":"https://github.com/svgdotjs/svg.select.js/issues/46","id":349294312,"node_id":"MDU6SXNzdWUzNDkyOTQzMTI=","number":46,"title":"flag touchstart event handlers as passive: false","user":{"login":"dannywieser","id":7243003,"node_id":"MDQ6VXNlcjcyNDMwMDM=","avatar_url":"https://avatars2.githubusercontent.com/u/7243003?v=4","gravatar_id":"","url":"https://api.github.com/users/dannywieser","html_url":"https://github.com/dannywieser","followers_url":"https://api.github.com/users/dannywieser/followers","following_url":"https://api.github.com/users/dannywieser/following{/other_user}","gists_url":"https://api.github.com/users/dannywieser/gists{/gist_id}","starred_url":"https://api.github.com/users/dannywieser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannywieser/subscriptions","organizations_url":"https://api.github.com/users/dannywieser/orgs","repos_url":"https://api.github.com/users/dannywieser/repos","events_url":"https://api.github.com/users/dannywieser/events{/privacy}","received_events_url":"https://api.github.com/users/dannywieser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-09T21:17:42Z","updated_at":"2018-08-09T21:17:42Z","closed_at":null,"author_association":"NONE","body":"Not a critical issue, but when the svg.select.js library is used in an app, chrome outputs several warnings to the console when an SVG element is selected:\r\n\r\n`[Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952`\r\n\r\nTaking a look at the code it appears that the different touchstart events in the code always trigger preventDefault, so it seems that all of the touchstart events in the library could be flagged as passive: false to eliminate these console warnings.\r\n"}}
{"actor":{"display_login":"dannywieser"}}