{"action":"created","issue":{"url":"https://api.github.com/repos/Famous/engine/issues/246","labels_url":"https://api.github.com/repos/Famous/engine/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/Famous/engine/issues/246/comments","events_url":"https://api.github.com/repos/Famous/engine/issues/246/events","html_url":"https://github.com/Famous/engine/issues/246","id":85963874,"number":246,"title":"Undefined node in dispatchUIEvent method","user":{"login":"monapasan","id":10222766,"avatar_url":"https://avatars.githubusercontent.com/u/10222766?v=3","gravatar_id":"","url":"https://api.github.com/users/monapasan","html_url":"https://github.com/monapasan","followers_url":"https://api.github.com/users/monapasan/followers","following_url":"https://api.github.com/users/monapasan/following{/other_user}","gists_url":"https://api.github.com/users/monapasan/gists{/gist_id}","starred_url":"https://api.github.com/users/monapasan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monapasan/subscriptions","organizations_url":"https://api.github.com/users/monapasan/orgs","repos_url":"https://api.github.com/users/monapasan/repos","events_url":"https://api.github.com/users/monapasan/events{/privacy}","received_events_url":"https://api.github.com/users/monapasan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-07T23:40:23Z","updated_at":"2015-06-08T10:09:54Z","closed_at":null,"body":"I am trying to catch an event on Dom element's node:\r\nhttps://gist.github.com/monapasan/a4480bcd2aeca1348157\r\nIn makeFooter method.\r\nI also have a node on higher level and a scene. All of nodes have onReceive method  but none of those is triggered, if i click on element. And i also have this exceptions. The third object in queue should be node that was clicked, but it's undefined. It's absolutely possible that i doing something wrong. But in this case i don't understand what. I was trying onReceive method,GestureHandler as well as custom component,bun in all cases i get an exception.  \r\nCould anyone explain, what is the problem ?\r\n\r\n\r\n![image](https://cloud.githubusercontent.com/assets/10222766/8026590/18e007d4-0d7d-11e5-98c5-ad1dbda3c5e0.png)\r\n![image](https://cloud.githubusercontent.com/assets/10222766/8026608/b193d708-0d7d-11e5-881d-bb1078a36b88.png)"},"comment":{"url":"https://api.github.com/repos/Famous/engine/issues/comments/109941169","html_url":"https://github.com/Famous/engine/issues/246#issuecomment-109941169","issue_url":"https://api.github.com/repos/Famous/engine/issues/246","id":109941169,"user":{"login":"alexanderGugel","id":703628,"avatar_url":"https://avatars.githubusercontent.com/u/703628?v=3","gravatar_id":"","url":"https://api.github.com/users/alexanderGugel","html_url":"https://github.com/alexanderGugel","followers_url":"https://api.github.com/users/alexanderGugel/followers","following_url":"https://api.github.com/users/alexanderGugel/following{/other_user}","gists_url":"https://api.github.com/users/alexanderGugel/gists{/gist_id}","starred_url":"https://api.github.com/users/alexanderGugel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexanderGugel/subscriptions","organizations_url":"https://api.github.com/users/alexanderGugel/orgs","repos_url":"https://api.github.com/users/alexanderGugel/repos","events_url":"https://api.github.com/users/alexanderGugel/events{/privacy}","received_events_url":"https://api.github.com/users/alexanderGugel/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T10:09:54Z","updated_at":"2015-06-08T10:09:54Z","body":"I'm not entirely sure I understand what you mean by \"onMount Event on Child don't trigered at all\". `onMount` is just an alias function for `mount`. If the `onMount` function wouldn't be called at all, the node would not be mounted (nothing would work). Therefore I guess that you're not subscribing correctly for the onMount event.\r\n\r\n```\r\nMyNode.prototype.onMount = function(parent, myId) {\r\n    this.mount(parent, myId);\r\n    \r\n    // MyNode has been mounted.    \r\n\r\n    return this;\r\n};\r\n```\r\n\r\n---------------------\r\nAdding a custom component to the node in order to subscribe for the `onMount` event is problematic due to the fact that adding a component will result into the component's `onMount` function being called immediately (if the node is mounted). This is a known issue and is being addressed in #211 via the `onAdd` event."}}