{"action":"created","issue":{"url":"https://api.github.com/repos/MohammadYounes/jquery-scrollLock/issues/18","repository_url":"https://api.github.com/repos/MohammadYounes/jquery-scrollLock","labels_url":"https://api.github.com/repos/MohammadYounes/jquery-scrollLock/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/MohammadYounes/jquery-scrollLock/issues/18/comments","events_url":"https://api.github.com/repos/MohammadYounes/jquery-scrollLock/issues/18/events","html_url":"https://github.com/MohammadYounes/jquery-scrollLock/issues/18","id":258559151,"number":18,"title":"Package doesn't work with Disqus Widget","user":{"login":"Itemshopp","id":17177411,"avatar_url":"https://avatars0.githubusercontent.com/u/17177411?v=4","gravatar_id":"","url":"https://api.github.com/users/Itemshopp","html_url":"https://github.com/Itemshopp","followers_url":"https://api.github.com/users/Itemshopp/followers","following_url":"https://api.github.com/users/Itemshopp/following{/other_user}","gists_url":"https://api.github.com/users/Itemshopp/gists{/gist_id}","starred_url":"https://api.github.com/users/Itemshopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Itemshopp/subscriptions","organizations_url":"https://api.github.com/users/Itemshopp/orgs","repos_url":"https://api.github.com/users/Itemshopp/repos","events_url":"https://api.github.com/users/Itemshopp/events{/privacy}","received_events_url":"https://api.github.com/users/Itemshopp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-18T17:29:15Z","updated_at":"2017-09-19T11:43:59Z","closed_at":"2017-09-19T11:43:59Z","author_association":"NONE","body":"Hi all, \r\n\r\nI'm using your package and it is quite easy to make it work on any element.\r\nBut when it comes to add it to the Disqus Widget , no locks are generated : \r\n\r\n```\r\n<div class=\"hidden-xs hidden-sm col-md-4\">\r\n        <!-- Disqus div -->\r\n        <p id=\"hello\" style=\"overflow-y: scroll; height:150px\"  data-scrollLock>Lorem Ipsum</p>\r\n        <div id=\"disqus_thread\" data-scrollLock></div>\r\n  </div>\r\n```\r\n```\r\n<script>\r\n        $(function ()\r\n        {\r\n            $('[data-scrollLock]').scrollLock();\r\n        });\r\n</script>\r\n```\r\n\r\n[https://demo.disqus.com/embed.js](url)\r\n\r\nHere is the JS link.\r\n\r\nIt doesn't work for disqus_thread but it works perfectly for hello. \r\nI can't explain and find out the solution myself.\r\n\r\nThanks for your help"},"comment":{"url":"https://api.github.com/repos/MohammadYounes/jquery-scrollLock/issues/comments/330513542","html_url":"https://github.com/MohammadYounes/jquery-scrollLock/issues/18#issuecomment-330513542","issue_url":"https://api.github.com/repos/MohammadYounes/jquery-scrollLock/issues/18","id":330513542,"user":{"login":"MohammadYounes","id":4712046,"avatar_url":"https://avatars0.githubusercontent.com/u/4712046?v=4","gravatar_id":"","url":"https://api.github.com/users/MohammadYounes","html_url":"https://github.com/MohammadYounes","followers_url":"https://api.github.com/users/MohammadYounes/followers","following_url":"https://api.github.com/users/MohammadYounes/following{/other_user}","gists_url":"https://api.github.com/users/MohammadYounes/gists{/gist_id}","starred_url":"https://api.github.com/users/MohammadYounes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MohammadYounes/subscriptions","organizations_url":"https://api.github.com/users/MohammadYounes/orgs","repos_url":"https://api.github.com/users/MohammadYounes/repos","events_url":"https://api.github.com/users/MohammadYounes/events{/privacy}","received_events_url":"https://api.github.com/users/MohammadYounes/received_events","type":"User","site_admin":false},"created_at":"2017-09-19T11:43:59Z","updated_at":"2017-09-19T11:43:59Z","author_association":"OWNER","body":"You have access the IFRAME `contentDocument` and listen to the scroll event and pass it to the parent. I don't think it's possible in this specific case due to being a cross-origin frame and such access will be blocked.  "}}
{"actor":{"display_login":"MohammadYounes"}}