{"action":"created","issue":{"url":"https://api.github.com/repos/callemall/material-ui/issues/4606","repository_url":"https://api.github.com/repos/callemall/material-ui","labels_url":"https://api.github.com/repos/callemall/material-ui/issues/4606/labels{/name}","comments_url":"https://api.github.com/repos/callemall/material-ui/issues/4606/comments","events_url":"https://api.github.com/repos/callemall/material-ui/issues/4606/events","html_url":"https://github.com/callemall/material-ui/issues/4606","id":163495311,"number":4606,"title":"[Menu] onItemTouchTap doesn't work for nested menuItems","user":{"login":"Taakn","id":16574157,"avatar_url":"https://avatars.githubusercontent.com/u/16574157?v=3","gravatar_id":"","url":"https://api.github.com/users/Taakn","html_url":"https://github.com/Taakn","followers_url":"https://api.github.com/users/Taakn/followers","following_url":"https://api.github.com/users/Taakn/following{/other_user}","gists_url":"https://api.github.com/users/Taakn/gists{/gist_id}","starred_url":"https://api.github.com/users/Taakn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Taakn/subscriptions","organizations_url":"https://api.github.com/users/Taakn/orgs","repos_url":"https://api.github.com/users/Taakn/repos","events_url":"https://api.github.com/users/Taakn/events{/privacy}","received_events_url":"https://api.github.com/users/Taakn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-02T01:11:07Z","updated_at":"2016-07-22T16:47:19Z","closed_at":null,"body":"### Problem description\r\nEvent onItemTouchTap does not trigger for nested menuItems\r\n\r\n### Steps to reproduce\r\n\r\n ```\r\n      function onItemTouchTap(e, menuItem, index) {\r\n              console.log('called'); // This is not called for nested menuItems\r\n            }\r\n\r\n  <Menu onItemTouchTap={onItemTouchTap}>\r\n\r\n               <MenuItem\r\n                 primaryText=\"TOP MENU\"\r\n                 rightIcon={<ArrowDropRight />}\r\n                 menuItems={[\r\n                   <MenuItem\r\n                     value=\"V1\"\r\n                     primaryText=\"T1\"\r\n                   />,\r\n                   <MenuItem\r\n                     value=\"V2\"\r\n                     primaryText=\"T2\"\r\n                   />,\r\n                 ]}\r\n              />\r\n   </Menu>\r\n```\r\n\r\n### Versions\r\n\r\n- Material-UI: 15.1.0\r\n- React: 15.1.0\r\n- Browser: Chrome\r\n"},"comment":{"url":"https://api.github.com/repos/callemall/material-ui/issues/comments/234595140","html_url":"https://github.com/callemall/material-ui/issues/4606#issuecomment-234595140","issue_url":"https://api.github.com/repos/callemall/material-ui/issues/4606","id":234595140,"user":{"login":"aahan96","id":7631739,"avatar_url":"https://avatars.githubusercontent.com/u/7631739?v=3","gravatar_id":"","url":"https://api.github.com/users/aahan96","html_url":"https://github.com/aahan96","followers_url":"https://api.github.com/users/aahan96/followers","following_url":"https://api.github.com/users/aahan96/following{/other_user}","gists_url":"https://api.github.com/users/aahan96/gists{/gist_id}","starred_url":"https://api.github.com/users/aahan96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aahan96/subscriptions","organizations_url":"https://api.github.com/users/aahan96/orgs","repos_url":"https://api.github.com/users/aahan96/repos","events_url":"https://api.github.com/users/aahan96/events{/privacy}","received_events_url":"https://api.github.com/users/aahan96/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T16:47:19Z","updated_at":"2016-07-22T16:47:19Z","body":"@acomito @Taakn, I used the `onTouchTap` in the inner `MenuItem` and it worked for me. Look at the gif below. I applied it only on `T1` and not on `T2`\r\n\r\n\r\n![](https://i.gyazo.com/bb01250b58e82e0b3fae8d2b5542d7b4.gif)\r\n"}}
{"actor":{"display_login":"aahan96"}}