DEV Community

Discussion on: How would you go about detecting the height of content within an iframe?

Collapse
 
alohci profile image
Nicholas Stimpson • Edited

Well, yeah, those answers, (including iframe-resizer) are easy to break. But you need to define "the height of its window" more tightly. CSSOM View has a concept called the Scrolling area of the Viewport which I suspect is close to what you want, but it's not clear.