{"action":"opened","issue":{"url":"https://api.github.com/repos/RByers/EventListenerOptions/issues/13","labels_url":"https://api.github.com/repos/RByers/EventListenerOptions/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/RByers/EventListenerOptions/issues/13/comments","events_url":"https://api.github.com/repos/RByers/EventListenerOptions/issues/13/events","html_url":"https://github.com/RByers/EventListenerOptions/issues/13","id":93075163,"number":13,"title":"bikeshed: mayCancel is a confusing name for some use cases","user":{"login":"ojanvafai","id":1607171,"avatar_url":"https://avatars.githubusercontent.com/u/1607171?v=3","gravatar_id":"","url":"https://api.github.com/users/ojanvafai","html_url":"https://github.com/ojanvafai","followers_url":"https://api.github.com/users/ojanvafai/followers","following_url":"https://api.github.com/users/ojanvafai/following{/other_user}","gists_url":"https://api.github.com/users/ojanvafai/gists{/gist_id}","starred_url":"https://api.github.com/users/ojanvafai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojanvafai/subscriptions","organizations_url":"https://api.github.com/users/ojanvafai/orgs","repos_url":"https://api.github.com/users/ojanvafai/repos","events_url":"https://api.github.com/users/ojanvafai/events{/privacy}","received_events_url":"https://api.github.com/users/ojanvafai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-05T04:19:46Z","updated_at":"2015-07-05T04:19:46Z","closed_at":null,"body":"mayCancel makes total sense with respect to preventDefault, but it also affects whether the event is async with respect to the default action, right?\r\n\r\nHere's an example where this name is confusing: a popup that you want to go away before the scroll starts. You still want the scroll to happen, but you don't want the popup to scroll with the content, you want it to just go away on touchstart. I can imagine as a developer being in this situation and trying to figure out if there's a way to get the event to be synchronous. \"mayCancel\" would not seem likely as a way to fix this.\r\n\r\nHow about \"requiresSync\"? or \"mayBeAsync\"? I don't love those names, but they're a bit more accurate and they're the best I can come up with at the moment. :)"}}