{"action":"created","issue":{"url":"https://api.github.com/repos/jamesflorentino/nanoScrollerJS/issues/295","labels_url":"https://api.github.com/repos/jamesflorentino/nanoScrollerJS/issues/295/labels{/name}","comments_url":"https://api.github.com/repos/jamesflorentino/nanoScrollerJS/issues/295/comments","events_url":"https://api.github.com/repos/jamesflorentino/nanoScrollerJS/issues/295/events","html_url":"https://github.com/jamesflorentino/nanoScrollerJS/issues/295","id":68192084,"number":295,"title":"preventPageScrolling on touch devices","user":{"login":"erikhagreis","id":854390,"avatar_url":"https://avatars.githubusercontent.com/u/854390?v=3","gravatar_id":"","url":"https://api.github.com/users/erikhagreis","html_url":"https://github.com/erikhagreis","followers_url":"https://api.github.com/users/erikhagreis/followers","following_url":"https://api.github.com/users/erikhagreis/following{/other_user}","gists_url":"https://api.github.com/users/erikhagreis/gists{/gist_id}","starred_url":"https://api.github.com/users/erikhagreis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikhagreis/subscriptions","organizations_url":"https://api.github.com/users/erikhagreis/orgs","repos_url":"https://api.github.com/users/erikhagreis/repos","events_url":"https://api.github.com/users/erikhagreis/events{/privacy}","received_events_url":"https://api.github.com/users/erikhagreis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-13T20:55:31Z","updated_at":"2015-04-14T15:19:12Z","closed_at":null,"body":"It seems there is no support for preventPageScrolling on touch devices. I have looked into the code, and cannot find logic in the `preventScrolling` function that handles events of type `touchmove`. There is only logic for `DOMMouseScroll' and 'wheel' events.\r\n\r\nAm I missing anything? If not it would be feasible for me to create a pull request where also touch events are handled in this feature."},"comment":{"url":"https://api.github.com/repos/jamesflorentino/nanoScrollerJS/issues/comments/92903015","html_url":"https://github.com/jamesflorentino/nanoScrollerJS/issues/295#issuecomment-92903015","issue_url":"https://api.github.com/repos/jamesflorentino/nanoScrollerJS/issues/295","id":92903015,"user":{"login":"kristerkari","id":993108,"avatar_url":"https://avatars.githubusercontent.com/u/993108?v=3","gravatar_id":"","url":"https://api.github.com/users/kristerkari","html_url":"https://github.com/kristerkari","followers_url":"https://api.github.com/users/kristerkari/followers","following_url":"https://api.github.com/users/kristerkari/following{/other_user}","gists_url":"https://api.github.com/users/kristerkari/gists{/gist_id}","starred_url":"https://api.github.com/users/kristerkari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristerkari/subscriptions","organizations_url":"https://api.github.com/users/kristerkari/orgs","repos_url":"https://api.github.com/users/kristerkari/repos","events_url":"https://api.github.com/users/kristerkari/events{/privacy}","received_events_url":"https://api.github.com/users/kristerkari/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T15:19:12Z","updated_at":"2015-04-14T15:19:12Z","body":"Yeah it is true because I guess nanoScroller was initially created with desktop browsers in mind.\r\n\r\nIf `preventScrolling` can be implemented so that it works consistently in mobile browsers, then there should be reason to support it as well."}}