Iframe with infinite scroll



I have a requirement where in I need to show a kibana page within the meteor app. This kibana page has an infinite scroll. When I embed the page as part of meteor using iframe, the infinite scroll function is lost. Now, I’m not sure if this is because the iframe is not reactive to the scroll or if this is how iframes are by design. I tried increasing the height of the iframe in hopes of getting it to work, but once I reach the end of the iframe page, it does not trigger the loading of the extra page content.

My question is, where does this “problem” lie? Is it becase of iframes? Or am I missing something?

Code snippet:

<iframe src={{loadPage}} height="2000px" id="kibana_discover"></iframe>

{{loadPage}} returns the actual URL which is a kibana query that is mighty long.