{"action":"created","issue":{"url":"https://api.github.com/repos/paperjs/paper.js/issues/585","labels_url":"https://api.github.com/repos/paperjs/paper.js/issues/585/labels{/name}","comments_url":"https://api.github.com/repos/paperjs/paper.js/issues/585/comments","events_url":"https://api.github.com/repos/paperjs/paper.js/issues/585/events","html_url":"https://github.com/paperjs/paper.js/issues/585","id":50970811,"number":585,"title":"onMouseMove stops propagation of touch events","user":{"login":"rassoh","id":869813,"avatar_url":"https://avatars.githubusercontent.com/u/869813?v=3","gravatar_id":"","url":"https://api.github.com/users/rassoh","html_url":"https://github.com/rassoh","followers_url":"https://api.github.com/users/rassoh/followers","following_url":"https://api.github.com/users/rassoh/following{/other_user}","gists_url":"https://api.github.com/users/rassoh/gists{/gist_id}","starred_url":"https://api.github.com/users/rassoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rassoh/subscriptions","organizations_url":"https://api.github.com/users/rassoh/orgs","repos_url":"https://api.github.com/users/rassoh/repos","events_url":"https://api.github.com/users/rassoh/events{/privacy}","received_events_url":"https://api.github.com/users/rassoh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-12-04T12:39:23Z","updated_at":"2015-02-09T03:08:14Z","closed_at":null,"body":"Hi there, love your work!! I just came over a problem: If I use the onMouseMove function, all the touch-events will be consumed as well, which prevents native functionality like e.g. scrolling. I tried to only use the onMouseMove event for desktops like this:\r\n```javascript\r\n$.support.touch = 'ontouchstart' in window;\r\nconsole.log( $.support.touch ); // logs 'true' on my ipad, tested\r\nif( !$.support.touch ) {\r\n    // this should only run if on a non-touch device, but it keeps running everywhere\r\n    function onMouseMove(event) {\r\n        // code\r\n    }\r\n}\r\n```\r\nbut even this didn't prevent the mouse events from being consumed on my touch device. The only fix I found for this is to include two duplicate scripts for desktop and touch devices respectively, with the mouse functionality being disabled in the mobile version of the script. Do you have any better suggestions?\r\n"},"comment":{"url":"https://api.github.com/repos/paperjs/paper.js/issues/comments/73451524","html_url":"https://github.com/paperjs/paper.js/issues/585#issuecomment-73451524","issue_url":"https://api.github.com/repos/paperjs/paper.js/issues/585","id":73451524,"user":{"login":"lqez","id":579366,"avatar_url":"https://avatars.githubusercontent.com/u/579366?v=3","gravatar_id":"","url":"https://api.github.com/users/lqez","html_url":"https://github.com/lqez","followers_url":"https://api.github.com/users/lqez/followers","following_url":"https://api.github.com/users/lqez/following{/other_user}","gists_url":"https://api.github.com/users/lqez/gists{/gist_id}","starred_url":"https://api.github.com/users/lqez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lqez/subscriptions","organizations_url":"https://api.github.com/users/lqez/orgs","repos_url":"https://api.github.com/users/lqez/repos","events_url":"https://api.github.com/users/lqez/events{/privacy}","received_events_url":"https://api.github.com/users/lqez/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T03:08:14Z","updated_at":"2015-02-09T03:08:14Z","body":"I'm also in trouble with this issue. :$"}}