{"action":"created","issue":{"url":"https://api.github.com/repos/ariutta/svg-pan-zoom/issues/180","labels_url":"https://api.github.com/repos/ariutta/svg-pan-zoom/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/ariutta/svg-pan-zoom/issues/180/comments","events_url":"https://api.github.com/repos/ariutta/svg-pan-zoom/issues/180/events","html_url":"https://github.com/ariutta/svg-pan-zoom/issues/180","id":123811087,"number":180,"title":"Panning on a hyperlink triggers the hyperlink on mouse up","user":{"login":"rustyx","id":1296899,"avatar_url":"https://avatars.githubusercontent.com/u/1296899?v=3","gravatar_id":"","url":"https://api.github.com/users/rustyx","html_url":"https://github.com/rustyx","followers_url":"https://api.github.com/users/rustyx/followers","following_url":"https://api.github.com/users/rustyx/following{/other_user}","gists_url":"https://api.github.com/users/rustyx/gists{/gist_id}","starred_url":"https://api.github.com/users/rustyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rustyx/subscriptions","organizations_url":"https://api.github.com/users/rustyx/orgs","repos_url":"https://api.github.com/users/rustyx/repos","events_url":"https://api.github.com/users/rustyx/events{/privacy}","received_events_url":"https://api.github.com/users/rustyx/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-24T15:01:47Z","updated_at":"2015-12-25T13:53:08Z","closed_at":"2015-12-25T13:53:08Z","body":"Normally when I pan something, even if I grab the content by a hyperlink, nothing special happens when I finish panning.\r\nBut with svg-pan-zoom, the hyperlink is still activated as soon as the panning is finished.\r\nThis should not happen, or at least should be configurable."},"comment":{"url":"https://api.github.com/repos/ariutta/svg-pan-zoom/issues/comments/167236369","html_url":"https://github.com/ariutta/svg-pan-zoom/issues/180#issuecomment-167236369","issue_url":"https://api.github.com/repos/ariutta/svg-pan-zoom/issues/180","id":167236369,"user":{"login":"bumbu","id":171178,"avatar_url":"https://avatars.githubusercontent.com/u/171178?v=3","gravatar_id":"","url":"https://api.github.com/users/bumbu","html_url":"https://github.com/bumbu","followers_url":"https://api.github.com/users/bumbu/followers","following_url":"https://api.github.com/users/bumbu/following{/other_user}","gists_url":"https://api.github.com/users/bumbu/gists{/gist_id}","starred_url":"https://api.github.com/users/bumbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bumbu/subscriptions","organizations_url":"https://api.github.com/users/bumbu/orgs","repos_url":"https://api.github.com/users/bumbu/repos","events_url":"https://api.github.com/users/bumbu/events{/privacy}","received_events_url":"https://api.github.com/users/bumbu/received_events","type":"User","site_admin":false},"created_at":"2015-12-25T13:53:08Z","updated_at":"2015-12-25T13:53:08Z","body":"There are usecases where blocking `mouseup` event is not desirable. So this will not be added into core. \r\nA simple for that would be to do something similar to #148 where you can attach `mouseup` event listeners to your hyperlinks. And if `mouseup` would happen before a `mousedrag` then that event can be prevented from executing the default behavior. "}}