{"action":"created","issue":{"url":"https://api.github.com/repos/davidjbradshaw/iframe-resizer/issues/439","repository_url":"https://api.github.com/repos/davidjbradshaw/iframe-resizer","labels_url":"https://api.github.com/repos/davidjbradshaw/iframe-resizer/issues/439/labels{/name}","comments_url":"https://api.github.com/repos/davidjbradshaw/iframe-resizer/issues/439/comments","events_url":"https://api.github.com/repos/davidjbradshaw/iframe-resizer/issues/439/events","html_url":"https://github.com/davidjbradshaw/iframe-resizer/issues/439","id":195102800,"number":439,"title":"Scrolling on parent page not triggering a resize event","user":{"login":"alexburgos","id":546132,"avatar_url":"https://avatars.githubusercontent.com/u/546132?v=3","gravatar_id":"","url":"https://api.github.com/users/alexburgos","html_url":"https://github.com/alexburgos","followers_url":"https://api.github.com/users/alexburgos/followers","following_url":"https://api.github.com/users/alexburgos/following{/other_user}","gists_url":"https://api.github.com/users/alexburgos/gists{/gist_id}","starred_url":"https://api.github.com/users/alexburgos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexburgos/subscriptions","organizations_url":"https://api.github.com/users/alexburgos/orgs","repos_url":"https://api.github.com/users/alexburgos/repos","events_url":"https://api.github.com/users/alexburgos/events{/privacy}","received_events_url":"https://api.github.com/users/alexburgos/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-12T22:21:49Z","updated_at":"2016-12-13T11:01:46Z","closed_at":"2016-12-13T11:01:46Z","body":"Hey I'm building an iFramed site for VH1/Rimmel and isolated the code and you can see the live version here: http://rawgit.com/offerpop/wyng.com-demo/master/index.html\r\n\r\nThe following code works fine for initial resize + some callbacks I have inside the frame itself, but for some reason, scrolling to the end of the page does not enable another resize even though I have scrolling set to true\r\n```\r\n<!DOCTYPE html>\r\n<html>\r\n    <head>\r\n        <script src=\"https://s3.amazonaws.com/assets.offerpop.com/libs/iframeresizer/iframeResizer.min.js\"></script>\r\n    </head>\r\n\r\n\r\n    </head>\r\n\r\n    <body>\r\n        <iframe src=\"//wyng.com/commerce/gallery/24659?context=iframe\" width=\"100%\" frameborder=\"0\" id=\"rimmel\"></iframe>\r\n\r\n        <script>\r\n         iFrameResize({\r\n            heightCalculationMethod: 'documentElementScroll',\r\n            scrolling : true,\r\n            checkOrigin : false,\r\n            enablePublicMethods : true,\r\n            minHeight: 1500,\r\n           });\r\n          window.addEventListener('scroll', function(e) {\r\n            console.log('scrolling', e);\r\n            console.log(document.documentElement.scrollHeight, document.querySelector('#rimmel').scrollHeight);\r\n          });\r\n        </script>\r\n    </body>\r\n</html>```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/davidjbradshaw/iframe-resizer/issues/comments/266709664","html_url":"https://github.com/davidjbradshaw/iframe-resizer/issues/439#issuecomment-266709664","issue_url":"https://api.github.com/repos/davidjbradshaw/iframe-resizer/issues/439","id":266709664,"user":{"login":"davidjbradshaw","id":591634,"avatar_url":"https://avatars.githubusercontent.com/u/591634?v=3","gravatar_id":"","url":"https://api.github.com/users/davidjbradshaw","html_url":"https://github.com/davidjbradshaw","followers_url":"https://api.github.com/users/davidjbradshaw/followers","following_url":"https://api.github.com/users/davidjbradshaw/following{/other_user}","gists_url":"https://api.github.com/users/davidjbradshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/davidjbradshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidjbradshaw/subscriptions","organizations_url":"https://api.github.com/users/davidjbradshaw/orgs","repos_url":"https://api.github.com/users/davidjbradshaw/repos","events_url":"https://api.github.com/users/davidjbradshaw/events{/privacy}","received_events_url":"https://api.github.com/users/davidjbradshaw/received_events","type":"User","site_admin":false},"created_at":"2016-12-13T11:01:46Z","updated_at":"2016-12-13T11:01:46Z","body":"Not sure I follow what your trying to do. But glad you found a solution,,"}}
{"actor":{"display_login":"davidjbradshaw"}}