# Autoscroll on discover in an iframe does not work

**URL:** <https://discuss.elastic.co/t/autoscroll-on-discover-in-an-iframe-does-not-work/111786>\
**Category:** Kibana\
**Created:** [December 14, 2017, 2:08pm UTC](https://discuss.elastic.co/t/autoscroll-on-discover-in-an-iframe-does-not-work/111786 "2017-12-14T14:08:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![blueren](https://avatars.discourse-cdn.com/v4/letter/b/ecae2f/32.png) [@blueren](https://discuss.elastic.co/u/blueren)\
**Post date:** [December 14, 2017, 2:08pm UTC](https://discuss.elastic.co/t/autoscroll-on-discover-in-an-iframe-does-not-work/111786/1 "2017-12-14T14:08:54Z")

</div>

Hi,

I have the `discover` tab embedded within an `iframe` of a meteor app. When I scroll to the end of the discover results inside the iframe, I hit the "`These are the first 500 documents matching your search, refine your search to see others. Back to top.`" message. However, this is not the case since I'm only viewing the first 100 documents. The page does not autoscroll to load the remainder of the records. I'd like to understand why this is so.

Secondly, Is there a possibility to disable autoscroll and show all the 500 records in bulk?

Thanks.

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [December 14, 2017, 8:59pm UTC](https://discuss.elastic.co/t/autoscroll-on-discover-in-an-iframe-does-not-work/111786/2 "2017-12-14T20:59:10Z")

</div>

Kibana's [infinite scroll implementation](https://github.com/elastic/kibana/blob/0f6c9d2ca448ca8e8b94a772f92d538bd40126d0/src/ui/public/directives/infinite_scroll.js) might not work correctly within iframes, I suggest [filing an issue](https://github.com/elastic/kibana/issues/new) with details about the bug.

As for disabling infinite scrolling, that is not configurable at the moment, but if you'd like it to be I recommend filing a feature request.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 11, 2018, 8:59pm UTC](https://discuss.elastic.co/t/autoscroll-on-discover-in-an-iframe-does-not-work/111786/3 "2018-01-11T20:59:15Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
