{"action":"created","issue":{"url":"https://api.github.com/repos/ruhley/angular-color-picker/issues/43","labels_url":"https://api.github.com/repos/ruhley/angular-color-picker/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/ruhley/angular-color-picker/issues/43/comments","events_url":"https://api.github.com/repos/ruhley/angular-color-picker/issues/43/events","html_url":"https://github.com/ruhley/angular-color-picker/pull/43","id":121450365,"number":43,"title":"mousedown event may interfere with other events","user":{"login":"cahva","id":700163,"avatar_url":"https://avatars.githubusercontent.com/u/700163?v=3","gravatar_id":"","url":"https://api.github.com/users/cahva","html_url":"https://github.com/cahva","followers_url":"https://api.github.com/users/cahva/followers","following_url":"https://api.github.com/users/cahva/following{/other_user}","gists_url":"https://api.github.com/users/cahva/gists{/gist_id}","starred_url":"https://api.github.com/users/cahva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cahva/subscriptions","organizations_url":"https://api.github.com/users/cahva/orgs","repos_url":"https://api.github.com/users/cahva/repos","events_url":"https://api.github.com/users/cahva/events{/privacy}","received_events_url":"https://api.github.com/users/cahva/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ruhley/angular-color-picker/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"ruhley","id":970772,"avatar_url":"https://avatars.githubusercontent.com/u/970772?v=3","gravatar_id":"","url":"https://api.github.com/users/ruhley","html_url":"https://github.com/ruhley","followers_url":"https://api.github.com/users/ruhley/followers","following_url":"https://api.github.com/users/ruhley/following{/other_user}","gists_url":"https://api.github.com/users/ruhley/gists{/gist_id}","starred_url":"https://api.github.com/users/ruhley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruhley/subscriptions","organizations_url":"https://api.github.com/users/ruhley/orgs","repos_url":"https://api.github.com/users/ruhley/repos","events_url":"https://api.github.com/users/ruhley/events{/privacy}","received_events_url":"https://api.github.com/users/ruhley/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-12-10T10:19:31Z","updated_at":"2015-12-10T22:31:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ruhley/angular-color-picker/pulls/43","html_url":"https://github.com/ruhley/angular-color-picker/pull/43","diff_url":"https://github.com/ruhley/angular-color-picker/pull/43.diff","patch_url":"https://github.com/ruhley/angular-color-picker/pull/43.patch"},"body":"From version 0.7.0 color-picker broke my app. All other inputs were disabled on the page and color-picker could not be opened by clicking the actual input, only the swatch.\r\n\r\nThis change constrains the mousedown event to listen only the colorpicker element, not the whole document. And mousemove does not need to listen to the whole $document."},"comment":{"url":"https://api.github.com/repos/ruhley/angular-color-picker/issues/comments/163770304","html_url":"https://github.com/ruhley/angular-color-picker/pull/43#issuecomment-163770304","issue_url":"https://api.github.com/repos/ruhley/angular-color-picker/issues/43","id":163770304,"user":{"login":"cahva","id":700163,"avatar_url":"https://avatars.githubusercontent.com/u/700163?v=3","gravatar_id":"","url":"https://api.github.com/users/cahva","html_url":"https://github.com/cahva","followers_url":"https://api.github.com/users/cahva/followers","following_url":"https://api.github.com/users/cahva/following{/other_user}","gists_url":"https://api.github.com/users/cahva/gists{/gist_id}","starred_url":"https://api.github.com/users/cahva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cahva/subscriptions","organizations_url":"https://api.github.com/users/cahva/orgs","repos_url":"https://api.github.com/users/cahva/repos","events_url":"https://api.github.com/users/cahva/events{/privacy}","received_events_url":"https://api.github.com/users/cahva/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T22:31:27Z","updated_at":"2015-12-10T22:31:27Z","body":"I used Chrome but I dont think its browser related. Odd behavior could be\nfrom other colliding event listeners from other components in the app. Your\nexamples worked fine btw.\n\nIs there a downside in my change? It just did not seem right that\ncolorpicker's mousedown event fires when clicking anywhere in the page.(?)\n\npe 11. joulukuuta 2015 klo 0.11 Ruhley <notifications@github.com> kirjoitti:\n\n> What browser are you using. It works fine for me in Chrome, FF, IE11 and\n> Edge. I will see if I can get a hold of older IE versions.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/ruhley/angular-color-picker/pull/43#issuecomment-163764352>\n> .\n>\n"}}