{"action":"opened","issue":{"url":"https://api.github.com/repos/dcr30/angular-bootstrap-context-menu/issues/2","repository_url":"https://api.github.com/repos/dcr30/angular-bootstrap-context-menu","labels_url":"https://api.github.com/repos/dcr30/angular-bootstrap-context-menu/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/dcr30/angular-bootstrap-context-menu/issues/2/comments","events_url":"https://api.github.com/repos/dcr30/angular-bootstrap-context-menu/issues/2/events","html_url":"https://github.com/dcr30/angular-bootstrap-context-menu/issues/2","id":196390734,"number":2,"title":"Bug with hash link in items","user":{"login":"dawiidio","id":7998389,"avatar_url":"https://avatars.githubusercontent.com/u/7998389?v=3","gravatar_id":"","url":"https://api.github.com/users/dawiidio","html_url":"https://github.com/dawiidio","followers_url":"https://api.github.com/users/dawiidio/followers","following_url":"https://api.github.com/users/dawiidio/following{/other_user}","gists_url":"https://api.github.com/users/dawiidio/gists{/gist_id}","starred_url":"https://api.github.com/users/dawiidio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dawiidio/subscriptions","organizations_url":"https://api.github.com/users/dawiidio/orgs","repos_url":"https://api.github.com/users/dawiidio/repos","events_url":"https://api.github.com/users/dawiidio/events{/privacy}","received_events_url":"https://api.github.com/users/dawiidio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-19T11:24:39Z","updated_at":"2016-12-19T11:24:39Z","closed_at":null,"body":"There is a bug related with hash links (items in menu) when you use routing and, in my case, modals. \r\nClick on button in menu trigger angular $location $locationChangeStart event, unnecessarily since there is no specified link. Then modal module close  automaticly modal because it expect change route to different than current, and router do similar things.\r\nI workaround it removing attr('href', '#') and add in css 'cursor: pointer'. But I I needed that quickly so this is not a nice solution."}}
{"actor":{"display_login":"dawiidio"}}