Here we provide you with an example of how an iframe can report its height to the parent window. The solution is compatible with IE10.
The process is the following:
- The parent window subscribes to window events of the iframe.
- The iframe returns its height onload and on turbolinks events (optional).
- The parent sets the height of the iframe element.