{"action":"created","issue":{"url":"https://api.github.com/repos/hammerjs/hammer.js/issues/906","repository_url":"https://api.github.com/repos/hammerjs/hammer.js","labels_url":"https://api.github.com/repos/hammerjs/hammer.js/issues/906/labels{/name}","comments_url":"https://api.github.com/repos/hammerjs/hammer.js/issues/906/comments","events_url":"https://api.github.com/repos/hammerjs/hammer.js/issues/906/events","html_url":"https://github.com/hammerjs/hammer.js/issues/906","id":126438974,"number":906,"title":"Panstart not fired on image since 2.0.5","user":{"login":"redaxmedia","id":1835397,"avatar_url":"https://avatars.githubusercontent.com/u/1835397?v=3","gravatar_id":"","url":"https://api.github.com/users/redaxmedia","html_url":"https://github.com/redaxmedia","followers_url":"https://api.github.com/users/redaxmedia/followers","following_url":"https://api.github.com/users/redaxmedia/following{/other_user}","gists_url":"https://api.github.com/users/redaxmedia/gists{/gist_id}","starred_url":"https://api.github.com/users/redaxmedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redaxmedia/subscriptions","organizations_url":"https://api.github.com/users/redaxmedia/orgs","repos_url":"https://api.github.com/users/redaxmedia/repos","events_url":"https://api.github.com/users/redaxmedia/events{/privacy}","received_events_url":"https://api.github.com/users/redaxmedia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hammerjs/hammer.js/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/hammerjs/hammer.js/labels/Firefox","name":"Firefox","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-01-13T15:08:56Z","updated_at":"2016-05-24T16:44:41Z","closed_at":null,"body":"Hello,\r\n\r\nI found and issue that was introduced in version 2.0.5. The past months I'm working on a Pageflip project that does have a zoom and drag feature for brochures.\r\n\r\n2.0.4:\r\nEverything is working as it should be, the <code>panstart</code> gets fired on <code>div</code> containers and images. Dragging the image around works like a charm.\r\n\r\n![2 0 4](https://cloud.githubusercontent.com/assets/1835397/12299013/28ed0ede-ba15-11e5-8b72-97c5d2cbe186.gif)\r\n\r\n2.0.5:\r\nThe <code>panstart</code> gets fired correctly on <code>div</code> containers, but on images the mouse pointer turns into drag image state and the <code>panstart</code> events gets fired after I released the mouse. Therefore it does not trigger the drag feature.\r\n\r\n![2 0 5](https://cloud.githubusercontent.com/assets/1835397/12299030/35d59922-ba15-11e5-99fc-ac4a35fe67bc.gif)\r\n\r\nTested in Firefox 43, but seem to work in Chrome 47.\r\n\r\nThe brochure image does have the attribute <code>draggable=\"false\"</code> and pageflip <code>div</code> container was styled with <code>user-select: none;</code>. None of these factors were touched during the recordings.\r\n"},"comment":{"url":"https://api.github.com/repos/hammerjs/hammer.js/issues/comments/221332342","html_url":"https://github.com/hammerjs/hammer.js/issues/906#issuecomment-221332342","issue_url":"https://api.github.com/repos/hammerjs/hammer.js/issues/906","id":221332342,"user":{"login":"st11x","id":7398499,"avatar_url":"https://avatars.githubusercontent.com/u/7398499?v=3","gravatar_id":"","url":"https://api.github.com/users/st11x","html_url":"https://github.com/st11x","followers_url":"https://api.github.com/users/st11x/followers","following_url":"https://api.github.com/users/st11x/following{/other_user}","gists_url":"https://api.github.com/users/st11x/gists{/gist_id}","starred_url":"https://api.github.com/users/st11x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/st11x/subscriptions","organizations_url":"https://api.github.com/users/st11x/orgs","repos_url":"https://api.github.com/users/st11x/repos","events_url":"https://api.github.com/users/st11x/events{/privacy}","received_events_url":"https://api.github.com/users/st11x/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T16:44:41Z","updated_at":"2016-05-24T16:44:41Z","body":"I am experiencing the same on Chrome, Safari, and Firefox on the Mac and have been able to reproduce it here \r\n\r\nhttps://jsfiddle.net/9ufvvgds/6/\r\n\r\nIf you clicked and dragged the Google image, you only get one Pan message.\r\n\r\nHowever, if you did the same with \"Some Text\", you will see the Pan messages continuously. \r\n\r\nThe Pan example on  http://hammerjs.github.io/ works because it included the touch emulator, so that is one workaround.\r\n"}}
{"actor":{"display_login":"st11x"}}