{"action":"created","issue":{"url":"https://api.github.com/repos/pixijs/pixi.js/issues/2316","repository_url":"https://api.github.com/repos/pixijs/pixi.js","labels_url":"https://api.github.com/repos/pixijs/pixi.js/issues/2316/labels{/name}","comments_url":"https://api.github.com/repos/pixijs/pixi.js/issues/2316/comments","events_url":"https://api.github.com/repos/pixijs/pixi.js/issues/2316/events","html_url":"https://github.com/pixijs/pixi.js/pull/2316","id":128675886,"number":2316,"title":"Don't fire interaction event when not interacting with object","user":{"login":"sktt","id":1434608,"avatar_url":"https://avatars.githubusercontent.com/u/1434608?v=3","gravatar_id":"","url":"https://api.github.com/users/sktt","html_url":"https://github.com/sktt","followers_url":"https://api.github.com/users/sktt/followers","following_url":"https://api.github.com/users/sktt/following{/other_user}","gists_url":"https://api.github.com/users/sktt/gists{/gist_id}","starred_url":"https://api.github.com/users/sktt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sktt/subscriptions","organizations_url":"https://api.github.com/users/sktt/orgs","repos_url":"https://api.github.com/users/sktt/repos","events_url":"https://api.github.com/users/sktt/events{/privacy}","received_events_url":"https://api.github.com/users/sktt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-25T23:44:20Z","updated_at":"2016-02-09T01:57:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pixijs/pixi.js/pulls/2316","html_url":"https://github.com/pixijs/pixi.js/pull/2316","diff_url":"https://github.com/pixijs/pixi.js/pull/2316.diff","patch_url":"https://github.com/pixijs/pixi.js/pull/2316.patch"},"body":"- Don't fire mousemove or touchmove unless hit is true\r\n- Fixes issue described in #2310\r\n\r\nMaybe its a conscious choice not to respect the `hit` flag for these event. Let me know if so....... "},"comment":{"url":"https://api.github.com/repos/pixijs/pixi.js/issues/comments/181666982","html_url":"https://github.com/pixijs/pixi.js/pull/2316#issuecomment-181666982","issue_url":"https://api.github.com/repos/pixijs/pixi.js/issues/2316","id":181666982,"user":{"login":"akbr","id":804208,"avatar_url":"https://avatars.githubusercontent.com/u/804208?v=3","gravatar_id":"","url":"https://api.github.com/users/akbr","html_url":"https://github.com/akbr","followers_url":"https://api.github.com/users/akbr/followers","following_url":"https://api.github.com/users/akbr/following{/other_user}","gists_url":"https://api.github.com/users/akbr/gists{/gist_id}","starred_url":"https://api.github.com/users/akbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akbr/subscriptions","organizations_url":"https://api.github.com/users/akbr/orgs","repos_url":"https://api.github.com/users/akbr/repos","events_url":"https://api.github.com/users/akbr/events{/privacy}","received_events_url":"https://api.github.com/users/akbr/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T01:57:57Z","updated_at":"2016-02-09T01:57:57Z","body":"Having reviewed [https://github.com/pixijs/pixi.js/commit/f7ccb8b1de524d0fd45f9073f275df0e27fb213a](https://github.com/pixijs/pixi.js/commit/f7ccb8b1de524d0fd45f9073f275df0e27fb213a), I think this deserves further consideration.\r\n\r\nThis is getting reported again and again because Pixi.js's implementations of `mousemove` and `touchmove` do not conform to the W3C's DOM specs on [UI Events](https://www.w3.org/TR/uievents/) and [Touch Events](https://www.w3.org/TR/touch-events/). Both specs say that events should be triggered on motion over a _target element_. (I think this makes intuitive sense, since one is listening to a particular target!)\r\n\r\nPixi.js doesn't need to follow the DOM specs, but it's confusing not to. As a user, I don't like juggling multiple meanings for `mousemove` and `touchmove` as I move between the DOM and the scene graph.\r\n\r\nI hear @GoodBoyDigital that it's useful to have nonstandard versions of these events in Pixi.js. I just think it's problematic for these nonstandard versions to use standardized names."}}