# Embedded Comments iframe Height Not Set

**URL:** <https://meta.discourse.org/t/embedded-comments-iframe-height-not-set/85023>\
**Category:** Product Support\
**Created:** [April 10, 2018, 9:24pm UTC](https://meta.discourse.org/t/embedded-comments-iframe-height-not-set/85023 "2018-04-10T21:24:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Bar\_Smith](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bar_smith/32/92338_2.png) [@Bar\_Smith](https://meta.discourse.org/u/Bar_Smith)\
**Post date:** [April 10, 2018, 9:38pm UTC](https://meta.discourse.org/t/embedded-comments-iframe-height-not-set/85023/2 "2018-04-10T21:38:34Z")

</div>

To make the issue weirder, sometimes the iframe will load the correct size, but usually not 🙄

**Edit:**

I think I’ve got it somewhat figured out (not a solution, but at least what is going on).

Forgive me if this is obvious, I’ve never done anything like this before.

What happens is:

1. Someone loads the page
2. The iframe is generated on the Discourse side and the frame is somehow sized based on the space available
3. Because I have my comments section in a tab, that page doesn’t exist until someone clicks on the tab the page doesn’t exist and the size is loaded wrong

 ![image](https://global.discourse-cdn.com/meta/original/3X/e/8/e868906679e73eee43187576291b7e7c038cf94a.jpg)

I can repeatedly make the comments section show up more or less by loading a page, clicking on the comments section (size 150px), then refreshing the page and the comments section shows up the same size as the main **Files** tab, which changes from page to page…

**Edit2:** Right clicking and choosing “reload frame” will fix the issue

So what do I do from here?

---

_[View the full topic](https://meta.discourse.org/t/embedded-comments-iframe-height-not-set/85023)._
