{"action":"created","issue":{"url":"https://api.github.com/repos/huei90/snap.svg.zpd/issues/20","labels_url":"https://api.github.com/repos/huei90/snap.svg.zpd/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/huei90/snap.svg.zpd/issues/20/comments","events_url":"https://api.github.com/repos/huei90/snap.svg.zpd/issues/20/events","html_url":"https://github.com/huei90/snap.svg.zpd/issues/20","id":50430228,"number":20,"title":"Snap.svg and zpd conflict during Snap.svg drag","user":{"login":"jlgrall","id":1263537,"avatar_url":"https://avatars.githubusercontent.com/u/1263537?v=3","gravatar_id":"","url":"https://api.github.com/users/jlgrall","html_url":"https://github.com/jlgrall","followers_url":"https://api.github.com/users/jlgrall/followers","following_url":"https://api.github.com/users/jlgrall/following{/other_user}","gists_url":"https://api.github.com/users/jlgrall/gists{/gist_id}","starred_url":"https://api.github.com/users/jlgrall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlgrall/subscriptions","organizations_url":"https://api.github.com/users/jlgrall/orgs","repos_url":"https://api.github.com/users/jlgrall/repos","events_url":"https://api.github.com/users/jlgrall/events{/privacy}","received_events_url":"https://api.github.com/users/jlgrall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-11-29T16:26:38Z","updated_at":"2015-01-17T02:10:02Z","closed_at":null,"body":"I want only some elements to be draggeable. So I use Snap.svg's element.drag(). But this conflicts with the drag and pan functions from zpd.\r\n\r\nHere is a quick workaround which prevent zpd from seeing the mousedown event when the element is managed by Snap.svg dragging code:\r\n\r\n```javascript\r\n// Prevent zpd during a Snap.svg drag:\r\neve.on(\"snap.drag.start\", function(x, y, e) {\r\n\te.stopPropagation();\r\n});\r\n```\r\n\r\nNote: [eve](http://dmitry.baranovskiy.com/eve/) is Snap.svg's integrated event library."},"comment":{"url":"https://api.github.com/repos/huei90/snap.svg.zpd/issues/comments/70350174","html_url":"https://github.com/huei90/snap.svg.zpd/issues/20#issuecomment-70350174","issue_url":"https://api.github.com/repos/huei90/snap.svg.zpd/issues/20","id":70350174,"user":{"login":"huei90","id":2560096,"avatar_url":"https://avatars.githubusercontent.com/u/2560096?v=3","gravatar_id":"","url":"https://api.github.com/users/huei90","html_url":"https://github.com/huei90","followers_url":"https://api.github.com/users/huei90/followers","following_url":"https://api.github.com/users/huei90/following{/other_user}","gists_url":"https://api.github.com/users/huei90/gists{/gist_id}","starred_url":"https://api.github.com/users/huei90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huei90/subscriptions","organizations_url":"https://api.github.com/users/huei90/orgs","repos_url":"https://api.github.com/users/huei90/repos","events_url":"https://api.github.com/users/huei90/events{/privacy}","received_events_url":"https://api.github.com/users/huei90/received_events","type":"User","site_admin":false},"created_at":"2015-01-17T02:10:02Z","updated_at":"2015-01-17T02:10:02Z","body":"Yup @khovorka This should be fixed!"}}