{"action":"opened","issue":{"url":"https://api.github.com/repos/Prinzhorn/skrollr/issues/675","labels_url":"https://api.github.com/repos/Prinzhorn/skrollr/issues/675/labels{/name}","comments_url":"https://api.github.com/repos/Prinzhorn/skrollr/issues/675/comments","events_url":"https://api.github.com/repos/Prinzhorn/skrollr/issues/675/events","html_url":"https://github.com/Prinzhorn/skrollr/issues/675","id":56651064,"number":675,"title":"Block scrolling when menu is open","user":{"login":"gerbenvandijk","id":1520354,"avatar_url":"https://avatars.githubusercontent.com/u/1520354?v=3","gravatar_id":"","url":"https://api.github.com/users/gerbenvandijk","html_url":"https://github.com/gerbenvandijk","followers_url":"https://api.github.com/users/gerbenvandijk/followers","following_url":"https://api.github.com/users/gerbenvandijk/following{/other_user}","gists_url":"https://api.github.com/users/gerbenvandijk/gists{/gist_id}","starred_url":"https://api.github.com/users/gerbenvandijk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerbenvandijk/subscriptions","organizations_url":"https://api.github.com/users/gerbenvandijk/orgs","repos_url":"https://api.github.com/users/gerbenvandijk/repos","events_url":"https://api.github.com/users/gerbenvandijk/events{/privacy}","received_events_url":"https://api.github.com/users/gerbenvandijk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-05T10:15:55Z","updated_at":"2015-02-05T10:15:55Z","closed_at":null,"body":"Hi there,\r\n\r\nI'm currently implementing Skrollr on one of our websites, and we have a off-canvas menu that when open should block scrolling. I've tried to toggle this using the following code:\r\n\r\n\tif(menu_open){\r\n\r\n\t\tconsole.log(menu_open);\r\n\t\tdocument.ontouchmove = function(e){ e.preventDefault(); }\r\n\r\n\t} else {\r\n\r\n\t\tconsole.log(menu_open);\r\n\t\tdocument.ontouchmove = function(e){ return true; }\r\n\r\n\t}\r\n\r\nThis doesn't seem to be working (it does on other sites of ours) - and I have the idea that it's Skrollr's scroll handling. Is there any way to do the above with Skrollr as well?\r\n\r\nKind regards,\r\n\r\nGerben van Dijk\r\n"}}