{"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":7,"created_at":"2015-01-24T00:35:26Z","updated_at":"2015-01-26T16:10:55Z","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/71485670","html_url":"https://github.com/davidjbradshaw/iframe-resizer/issues/144#issuecomment-71485670","issue_url":"https://api.github.com/repos/davidjbradshaw/iframe-resizer/issues/144","id":71485670,"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":"2015-01-26T16:10:55Z","updated_at":"2015-01-26T16:10:55Z","body":"All the options are currently registered in the parent page and the height is measured in the child, so not that simple a change.\r\n\r\nDid you try the lowestElement method yet?\r\n\r\n"}}