{"action":"closed","issue":{"url":"https://api.github.com/repos/metamaps/metamaps/issues/658","repository_url":"https://api.github.com/repos/metamaps/metamaps","labels_url":"https://api.github.com/repos/metamaps/metamaps/issues/658/labels{/name}","comments_url":"https://api.github.com/repos/metamaps/metamaps/issues/658/comments","events_url":"https://api.github.com/repos/metamaps/metamaps/issues/658/events","html_url":"https://github.com/metamaps/metamaps/issues/658","id":179011284,"number":658,"title":"Chrome's default context menu isn't prevented from opening when right-clicking on topics/synapses","user":{"login":"Bortseb","id":1617130,"avatar_url":"https://avatars.githubusercontent.com/u/1617130?v=3","gravatar_id":"","url":"https://api.github.com/users/Bortseb","html_url":"https://github.com/Bortseb","followers_url":"https://api.github.com/users/Bortseb/followers","following_url":"https://api.github.com/users/Bortseb/following{/other_user}","gists_url":"https://api.github.com/users/Bortseb/gists{/gist_id}","starred_url":"https://api.github.com/users/Bortseb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bortseb/subscriptions","organizations_url":"https://api.github.com/users/Bortseb/orgs","repos_url":"https://api.github.com/users/Bortseb/repos","events_url":"https://api.github.com/users/Bortseb/events{/privacy}","received_events_url":"https://api.github.com/users/Bortseb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/metamaps/metamaps/labels/bug","name":"bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"Bortseb","id":1617130,"avatar_url":"https://avatars.githubusercontent.com/u/1617130?v=3","gravatar_id":"","url":"https://api.github.com/users/Bortseb","html_url":"https://github.com/Bortseb","followers_url":"https://api.github.com/users/Bortseb/followers","following_url":"https://api.github.com/users/Bortseb/following{/other_user}","gists_url":"https://api.github.com/users/Bortseb/gists{/gist_id}","starred_url":"https://api.github.com/users/Bortseb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bortseb/subscriptions","organizations_url":"https://api.github.com/users/Bortseb/orgs","repos_url":"https://api.github.com/users/Bortseb/repos","events_url":"https://api.github.com/users/Bortseb/events{/privacy}","received_events_url":"https://api.github.com/users/Bortseb/received_events","type":"User","site_admin":false},"assignees":[{"login":"Bortseb","id":1617130,"avatar_url":"https://avatars.githubusercontent.com/u/1617130?v=3","gravatar_id":"","url":"https://api.github.com/users/Bortseb","html_url":"https://github.com/Bortseb","followers_url":"https://api.github.com/users/Bortseb/followers","following_url":"https://api.github.com/users/Bortseb/following{/other_user}","gists_url":"https://api.github.com/users/Bortseb/gists{/gist_id}","starred_url":"https://api.github.com/users/Bortseb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bortseb/subscriptions","organizations_url":"https://api.github.com/users/Bortseb/orgs","repos_url":"https://api.github.com/users/Bortseb/repos","events_url":"https://api.github.com/users/Bortseb/events{/privacy}","received_events_url":"https://api.github.com/users/Bortseb/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/metamaps/metamaps/milestones/16","html_url":"https://github.com/metamaps/metamaps/milestones/TODO","labels_url":"https://api.github.com/repos/metamaps/metamaps/milestones/16/labels","id":1382573,"number":16,"title":"TODO","description":"High priority issues not being actively worked on, but that are on the TODO list","creator":{"login":"devvmh","id":1393708,"avatar_url":"https://avatars.githubusercontent.com/u/1393708?v=3","gravatar_id":"","url":"https://api.github.com/users/devvmh","html_url":"https://github.com/devvmh","followers_url":"https://api.github.com/users/devvmh/followers","following_url":"https://api.github.com/users/devvmh/following{/other_user}","gists_url":"https://api.github.com/users/devvmh/gists{/gist_id}","starred_url":"https://api.github.com/users/devvmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devvmh/subscriptions","organizations_url":"https://api.github.com/users/devvmh/orgs","repos_url":"https://api.github.com/users/devvmh/repos","events_url":"https://api.github.com/users/devvmh/events{/privacy}","received_events_url":"https://api.github.com/users/devvmh/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":2,"state":"open","created_at":"2015-10-29T02:13:33Z","updated_at":"2016-09-28T19:38:59Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2016-09-24T05:07:35Z","updated_at":"2016-09-28T19:38:59Z","closed_at":"2016-09-28T19:38:59Z","body":"I have had this problem for a long while now. When I right click on topics/synapses, both context menus come up. The default chrome one is on top of our custom context menu.\r\n\r\nThis really gets in my way all the time, and breaks the flow of mapping. (I need to hit esc to remove the default context menu, and see our custom context menu)\r\n\r\nI have spent a bit of time trying to solve this issue myself... But now I need some help.\r\n\r\nI found this from research:\r\nhttp://stackoverflow.com/questions/381795/how-to-disable-right-click-context-menu-in-javascript\r\n\r\nand I found two places in our code that appear to be attempting to prevent the default context menu from coming up... But its not working it seems (Maybe just for me? Windows 10/Chrome... I haven't heard others mention this problem)\r\n\r\nhttps://github.com/metamaps/metamaps/blob/eef8a281cb53af7ff333f41a6af68241e27c22f2/frontend/src/Metamaps/JIT.js#L1292\r\n\r\nhttps://github.com/metamaps/metamaps/blob/develop/frontend/src/Metamaps/Map/index.js#L42\r\n\r\nMaybe @devvmh or @Connoropolous can provide some clues?\r\n\r\n"}}
{"actor":{"display_login":"Bortseb"}}