{"action":"created","issue":{"url":"https://api.github.com/repos/davidjbradshaw/iframe-resizer/issues/144","labels_url":"https://api.github.com/repos/davidjbradshaw/iframe-resizer/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/davidjbradshaw/iframe-resizer/issues/144/comments","events_url":"https://api.github.com/repos/davidjbradshaw/iframe-resizer/issues/144/events","html_url":"https://github.com/davidjbradshaw/iframe-resizer/issues/144","id":55350938,"number":144,"title":"How to compute height given a specific element's height inside the iFrame","user":{"login":"paulbors","id":2027825,"avatar_url":"https://avatars.githubusercontent.com/u/2027825?v=3","gravatar_id":"","url":"https://api.github.com/users/paulbors","html_url":"https://github.com/paulbors","followers_url":"https://api.github.com/users/paulbors/followers","following_url":"https://api.github.com/users/paulbors/following{/other_user}","gists_url":"https://api.github.com/users/paulbors/gists{/gist_id}","starred_url":"https://api.github.com/users/paulbors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulbors/subscriptions","organizations_url":"https://api.github.com/users/paulbors/orgs","repos_url":"https://api.github.com/users/paulbors/repos","events_url":"https://api.github.com/users/paulbors/events{/privacy}","received_events_url":"https://api.github.com/users/paulbors/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-24T00:35:26Z","updated_at":"2015-01-24T20:53:14Z","closed_at":null,"body":"Is there a way to have a custom method to compute the iFrame height given a particular's DOM element's CSS height attribute?\r\n\r\nI'm asking because I run into a use-case where we have a single app in an iFrame and the height is returned as 0.\r\n\r\nBelow is the jsFiddle that demonstrates is:\r\nhttp://jsfiddle.net/paulbors/n3abtczy/"},"comment":{"url":"https://api.github.com/repos/davidjbradshaw/iframe-resizer/issues/comments/71336728","html_url":"https://github.com/davidjbradshaw/iframe-resizer/issues/144#issuecomment-71336728","issue_url":"https://api.github.com/repos/davidjbradshaw/iframe-resizer/issues/144","id":71336728,"user":{"login":"josephliao","id":7128871,"avatar_url":"https://avatars.githubusercontent.com/u/7128871?v=3","gravatar_id":"","url":"https://api.github.com/users/josephliao","html_url":"https://github.com/josephliao","followers_url":"https://api.github.com/users/josephliao/followers","following_url":"https://api.github.com/users/josephliao/following{/other_user}","gists_url":"https://api.github.com/users/josephliao/gists{/gist_id}","starred_url":"https://api.github.com/users/josephliao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephliao/subscriptions","organizations_url":"https://api.github.com/users/josephliao/orgs","repos_url":"https://api.github.com/users/josephliao/repos","events_url":"https://api.github.com/users/josephliao/events{/privacy}","received_events_url":"https://api.github.com/users/josephliao/received_events","type":"User","site_admin":false},"created_at":"2015-01-24T20:53:14Z","updated_at":"2015-01-24T20:53:14Z","body":"Unfurtunily, there is no way to get this height value using dom elements in this iframe.  It has to be coculated from js.\n\n----- Reply message -----\nFrom: \"Paul Bors\" <notifications@github.com>\nTo: \"davidjbradshaw/iframe-resizer\" <iframe-resizer@noreply.github.com>\nSubject: [iframe-resizer] How to compute height given a specific element's height on the page (#144)\nDate: Fri, Jan 23, 2015 7:35 PM\n\nIs there a way to have a custom method to compute the iFrame height given a particular's DOM element's CSS height attribute?\n\nI'm asking because I run into a use-case where we have a single app in an iFrame and the height is returned as 0.\n\nBelow is the jsFiddle that demonstrates is:\nhttp://jsfiddle.net/paulbors/n3abtczy/\n\n---\nReply to this email directly or view it on GitHub:\nhttps://github.com/davidjbradshaw/iframe-resizer/issues/144"}}