{"action":"created","issue":{"url":"https://api.github.com/repos/CrackerakiUA/ui-cropper/issues/82","repository_url":"https://api.github.com/repos/CrackerakiUA/ui-cropper","labels_url":"https://api.github.com/repos/CrackerakiUA/ui-cropper/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/CrackerakiUA/ui-cropper/issues/82/comments","events_url":"https://api.github.com/repos/CrackerakiUA/ui-cropper/issues/82/events","html_url":"https://github.com/CrackerakiUA/ui-cropper/issues/82","id":374915632,"node_id":"MDU6SXNzdWUzNzQ5MTU2MzI=","number":82,"title":"Allow propagation","user":{"login":"ViieeS","id":8194543,"node_id":"MDQ6VXNlcjgxOTQ1NDM=","avatar_url":"https://avatars0.githubusercontent.com/u/8194543?v=4","gravatar_id":"","url":"https://api.github.com/users/ViieeS","html_url":"https://github.com/ViieeS","followers_url":"https://api.github.com/users/ViieeS/followers","following_url":"https://api.github.com/users/ViieeS/following{/other_user}","gists_url":"https://api.github.com/users/ViieeS/gists{/gist_id}","starred_url":"https://api.github.com/users/ViieeS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ViieeS/subscriptions","organizations_url":"https://api.github.com/users/ViieeS/orgs","repos_url":"https://api.github.com/users/ViieeS/repos","events_url":"https://api.github.com/users/ViieeS/events{/privacy}","received_events_url":"https://api.github.com/users/ViieeS/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-29T09:01:05Z","updated_at":"2018-10-29T10:10:04Z","closed_at":null,"author_association":"NONE","body":"I try to use uiCropper and [ui.bootstrap.contextMenu](https://github.com/Templarian/ui.bootstrap.contextMenu) together.\r\n\r\n```html\r\n<div context-menu=\"$ctrl.contextMenu\">\r\n        <ui-cropper\r\n                image=\"$ctrl.image\"\r\n                result-image-format=\"image/jpeg\"\r\n                area-type=\"rectangle\"\r\n                init-max-area=\"true\"\r\n        ></ui-cropper>\r\n</div>\r\n```\r\n\r\nThe problem is after menu opened it doesn't close with left or right click because of this line:\r\nhttps://github.com/CrackerakiUA/ui-cropper/blob/9c26040c2ed1b4a80f1cfc7195058a9d2ae4b498/compile/unminified/ui-cropper.js#L2507\r\n\r\n@CrackerakiUA, can you please explain why we use it here? Maybe we can allow event propagation optionally?\r\n"},"comment":{"url":"https://api.github.com/repos/CrackerakiUA/ui-cropper/issues/comments/433854709","html_url":"https://github.com/CrackerakiUA/ui-cropper/issues/82#issuecomment-433854709","issue_url":"https://api.github.com/repos/CrackerakiUA/ui-cropper/issues/82","id":433854709,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzg1NDcwOQ==","user":{"login":"CrackerakiUA","id":6815721,"node_id":"MDQ6VXNlcjY4MTU3MjE=","avatar_url":"https://avatars2.githubusercontent.com/u/6815721?v=4","gravatar_id":"","url":"https://api.github.com/users/CrackerakiUA","html_url":"https://github.com/CrackerakiUA","followers_url":"https://api.github.com/users/CrackerakiUA/followers","following_url":"https://api.github.com/users/CrackerakiUA/following{/other_user}","gists_url":"https://api.github.com/users/CrackerakiUA/gists{/gist_id}","starred_url":"https://api.github.com/users/CrackerakiUA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CrackerakiUA/subscriptions","organizations_url":"https://api.github.com/users/CrackerakiUA/orgs","repos_url":"https://api.github.com/users/CrackerakiUA/repos","events_url":"https://api.github.com/users/CrackerakiUA/events{/privacy}","received_events_url":"https://api.github.com/users/CrackerakiUA/received_events","type":"User","site_admin":false},"created_at":"2018-10-29T10:10:04Z","updated_at":"2018-10-29T10:10:04Z","author_association":"OWNER","body":"we need it there, try to handle bootstrap click above ui-cropper\r\n"}}
{"actor":{"display_login":"CrackerakiUA"}}