{"action":"created","issue":{"url":"https://api.github.com/repos/fkhadra/react-contexify/issues/72","repository_url":"https://api.github.com/repos/fkhadra/react-contexify","labels_url":"https://api.github.com/repos/fkhadra/react-contexify/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/fkhadra/react-contexify/issues/72/comments","events_url":"https://api.github.com/repos/fkhadra/react-contexify/issues/72/events","html_url":"https://github.com/fkhadra/react-contexify/issues/72","id":338956847,"node_id":"MDU6SXNzdWUzMzg5NTY4NDc=","number":72,"title":"Event is not registered. Did you forgot to bind the event ?","user":{"login":"jkeruzec","id":3499632,"node_id":"MDQ6VXNlcjM0OTk2MzI=","avatar_url":"https://avatars0.githubusercontent.com/u/3499632?v=4","gravatar_id":"","url":"https://api.github.com/users/jkeruzec","html_url":"https://github.com/jkeruzec","followers_url":"https://api.github.com/users/jkeruzec/followers","following_url":"https://api.github.com/users/jkeruzec/following{/other_user}","gists_url":"https://api.github.com/users/jkeruzec/gists{/gist_id}","starred_url":"https://api.github.com/users/jkeruzec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkeruzec/subscriptions","organizations_url":"https://api.github.com/users/jkeruzec/orgs","repos_url":"https://api.github.com/users/jkeruzec/repos","events_url":"https://api.github.com/users/jkeruzec/events{/privacy}","received_events_url":"https://api.github.com/users/jkeruzec/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-06T14:18:43Z","updated_at":"2018-07-09T07:21:23Z","closed_at":null,"author_association":"NONE","body":"Hello, \r\nI'm trying to make context menu work but I have some issue when I right click on my text that should display the context menu :\r\n`js <display::menu> Event is not registered. Did you forgot to bind the event ?`\r\n\r\n```\r\nconst myMenu = () => (<ContextMenu id=\"menu\">\r\n                          <Item >Ipsum</Item>\r\n                       </ContextMenu>);\r\n        \r\n        return {icons: [\r\n                <div\r\n                style={iconStyle}\r\n              />,\r\n            ],\r\n            title : \r\n                     <div>\r\n                          <ContextMenuProvider id=\"menu\">\r\n                          <span>{rowInfo.node.title}</span>\r\n                          </ContextMenuProvider>\r\n                          {myMenu}\r\n                          </div>\r\n                          ,\r\n            onClick: event => this.nodeClicked(event, rowInfo),\r\n            style : innerStyle\r\n        };\r\n```\r\n\r\nI'm using it with react-sortable-tree to add a contextual menu on my items...\r\n\r\nThanks !"},"comment":{"url":"https://api.github.com/repos/fkhadra/react-contexify/issues/comments/403383854","html_url":"https://github.com/fkhadra/react-contexify/issues/72#issuecomment-403383854","issue_url":"https://api.github.com/repos/fkhadra/react-contexify/issues/72","id":403383854,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzM4Mzg1NA==","user":{"login":"jkeruzec","id":3499632,"node_id":"MDQ6VXNlcjM0OTk2MzI=","avatar_url":"https://avatars0.githubusercontent.com/u/3499632?v=4","gravatar_id":"","url":"https://api.github.com/users/jkeruzec","html_url":"https://github.com/jkeruzec","followers_url":"https://api.github.com/users/jkeruzec/followers","following_url":"https://api.github.com/users/jkeruzec/following{/other_user}","gists_url":"https://api.github.com/users/jkeruzec/gists{/gist_id}","starred_url":"https://api.github.com/users/jkeruzec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkeruzec/subscriptions","organizations_url":"https://api.github.com/users/jkeruzec/orgs","repos_url":"https://api.github.com/users/jkeruzec/repos","events_url":"https://api.github.com/users/jkeruzec/events{/privacy}","received_events_url":"https://api.github.com/users/jkeruzec/received_events","type":"User","site_admin":false},"created_at":"2018-07-09T07:21:23Z","updated_at":"2018-07-09T07:21:23Z","author_association":"NONE","body":"Hello @fkhadra,\r\nThanks for your answer, I just created a codesandbox for you to test the issue :\r\n[https://codesandbox.io/s/7oj4v5747j](https://codesandbox.io/s/7oj4v5747j)\r\n\r\nYou just have to right click on the text \"Chicken\" or \"Egg\" to trigger the problem... demo.js file.\r\n\r\nOn the console : \r\n`<display::menu> Event is not registered. Did you forgot to bind the event ? `\r\n\r\n"}}
{"actor":{"display_login":"jkeruzec"}}