{"action":"created","issue":{"url":"https://api.github.com/repos/dimsemenov/Magnific-Popup/issues/782","repository_url":"https://api.github.com/repos/dimsemenov/Magnific-Popup","labels_url":"https://api.github.com/repos/dimsemenov/Magnific-Popup/issues/782/labels{/name}","comments_url":"https://api.github.com/repos/dimsemenov/Magnific-Popup/issues/782/comments","events_url":"https://api.github.com/repos/dimsemenov/Magnific-Popup/issues/782/events","html_url":"https://github.com/dimsemenov/Magnific-Popup/issues/782","id":121502800,"number":782,"title":"Prevent scrolling on mobile device","user":{"login":"martinb2","id":12591995,"avatar_url":"https://avatars.githubusercontent.com/u/12591995?v=3","gravatar_id":"","url":"https://api.github.com/users/martinb2","html_url":"https://github.com/martinb2","followers_url":"https://api.github.com/users/martinb2/followers","following_url":"https://api.github.com/users/martinb2/following{/other_user}","gists_url":"https://api.github.com/users/martinb2/gists{/gist_id}","starred_url":"https://api.github.com/users/martinb2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinb2/subscriptions","organizations_url":"https://api.github.com/users/martinb2/orgs","repos_url":"https://api.github.com/users/martinb2/repos","events_url":"https://api.github.com/users/martinb2/events{/privacy}","received_events_url":"https://api.github.com/users/martinb2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2015-12-10T14:50:20Z","updated_at":"2017-01-09T17:23:17Z","closed_at":null,"body":"Hi,\nPlease, can you give me advise for prevent scrolling lightbox on mobile device ?\nWhen I open http://dimsemenov.com/plugins/magnific-popup/ and try open any image from gallery, or \"Load content via ajax\", then lightbox window is fixed to page, and I can scroll throughout the site. This happened only on mobile device (Firefox 42.0.2, Chrome 47.0.25.26.76). This is not happened during previewing site on desktop.\nLightbox looks really great, I would like to solve this little problem.\nThank you\n"},"comment":{"url":"https://api.github.com/repos/dimsemenov/Magnific-Popup/issues/comments/271347035","html_url":"https://github.com/dimsemenov/Magnific-Popup/issues/782#issuecomment-271347035","issue_url":"https://api.github.com/repos/dimsemenov/Magnific-Popup/issues/782","id":271347035,"user":{"login":"mjcampagna","id":1414181,"avatar_url":"https://avatars.githubusercontent.com/u/1414181?v=3","gravatar_id":"","url":"https://api.github.com/users/mjcampagna","html_url":"https://github.com/mjcampagna","followers_url":"https://api.github.com/users/mjcampagna/followers","following_url":"https://api.github.com/users/mjcampagna/following{/other_user}","gists_url":"https://api.github.com/users/mjcampagna/gists{/gist_id}","starred_url":"https://api.github.com/users/mjcampagna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjcampagna/subscriptions","organizations_url":"https://api.github.com/users/mjcampagna/orgs","repos_url":"https://api.github.com/users/mjcampagna/repos","events_url":"https://api.github.com/users/mjcampagna/events{/privacy}","received_events_url":"https://api.github.com/users/mjcampagna/received_events","type":"User","site_admin":false},"created_at":"2017-01-09T17:23:17Z","updated_at":"2017-01-09T17:23:17Z","body":"@rmarscher \r\n\r\nTry applying -webkit-overflow-scrolling: touch; to the body when the modal is closed.\r\n\r\nWhen the modal is open, apply -webkit-overflow-scrolling: auto; to the body, then -webkit-overflow-scrolling: touch; to the modal.\r\n\r\nUse the callbacks to set a body class, for example:\r\n\r\n`body {\r\n\t-webkit-overflow-scrolling: touch;\r\n}\r\n\r\nbody.no-scroll {\r\n\toverflow: hidden;\r\n\t-webkit-overflow-scrolling: auto;\r\n}`"}}
{"actor":{"display_login":"mjcampagna"}}