{"action":"created","issue":{"url":"https://api.github.com/repos/pixijs/pixi.js/issues/4567","repository_url":"https://api.github.com/repos/pixijs/pixi.js","labels_url":"https://api.github.com/repos/pixijs/pixi.js/issues/4567/labels{/name}","comments_url":"https://api.github.com/repos/pixijs/pixi.js/issues/4567/comments","events_url":"https://api.github.com/repos/pixijs/pixi.js/issues/4567/events","html_url":"https://github.com/pixijs/pixi.js/issues/4567","id":284853598,"number":4567,"title":"PIXI.Container don't have method containsPoint cause event cannot be triggered at Container","user":{"login":"k8w","id":1681689,"avatar_url":"https://avatars0.githubusercontent.com/u/1681689?v=4","gravatar_id":"","url":"https://api.github.com/users/k8w","html_url":"https://github.com/k8w","followers_url":"https://api.github.com/users/k8w/followers","following_url":"https://api.github.com/users/k8w/following{/other_user}","gists_url":"https://api.github.com/users/k8w/gists{/gist_id}","starred_url":"https://api.github.com/users/k8w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8w/subscriptions","organizations_url":"https://api.github.com/users/k8w/orgs","repos_url":"https://api.github.com/users/k8w/repos","events_url":"https://api.github.com/users/k8w/events{/privacy}","received_events_url":"https://api.github.com/users/k8w/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-28T06:54:56Z","updated_at":"2017-12-28T09:10:06Z","closed_at":null,"author_association":"NONE","body":"```js\r\nlet app = new PIXI.Application(800, 600);\r\ndocument.body.appendChild(app.view);\r\napp.stage.interactive = true;\r\napp.stage.on('click', () => {\r\n    console.log('CLICKED');\r\n})\r\n```\r\n\r\n**Expect**\r\nClick on stage would trigger click event.\r\n\r\n**Actual**\r\nNothing triggered\r\n\r\nFound out the reason is `PIXI.Container` doesn't have method `containsPoint`, and it lead to hitTest is skiped."},"comment":{"url":"https://api.github.com/repos/pixijs/pixi.js/issues/comments/354255719","html_url":"https://github.com/pixijs/pixi.js/issues/4567#issuecomment-354255719","issue_url":"https://api.github.com/repos/pixijs/pixi.js/issues/4567","id":354255719,"user":{"login":"k8w","id":1681689,"avatar_url":"https://avatars0.githubusercontent.com/u/1681689?v=4","gravatar_id":"","url":"https://api.github.com/users/k8w","html_url":"https://github.com/k8w","followers_url":"https://api.github.com/users/k8w/followers","following_url":"https://api.github.com/users/k8w/following{/other_user}","gists_url":"https://api.github.com/users/k8w/gists{/gist_id}","starred_url":"https://api.github.com/users/k8w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8w/subscriptions","organizations_url":"https://api.github.com/users/k8w/orgs","repos_url":"https://api.github.com/users/k8w/repos","events_url":"https://api.github.com/users/k8w/events{/privacy}","received_events_url":"https://api.github.com/users/k8w/received_events","type":"User","site_admin":false},"created_at":"2017-12-28T09:10:06Z","updated_at":"2017-12-28T09:10:06Z","author_association":"NONE","body":"@ivanpopelyshev Not only stage, normal Container cannot trigger event by itself.\r\n\r\n```js\r\nlet containter = new PIXI.Container();\r\ncontainer.addChild(...);\r\ncontainer.on('click', ()=>{\r\n  //... NOT TRIGGERED TOO\r\n})\r\n```\r\n\r\nAnd add event directly to interaction manager seems not work too..\r\n```\r\napp.renderer.plugins.interaction.on('click', () => {\r\n    console.log('RClick')\r\n})\r\n```"}}
{"actor":{"display_login":"k8w"}}