# Show loader while RG Data is loaded

**URL:** <https://forum.bubble.io/t/show-loader-while-rg-data-is-loaded/66566>\
**Category:** App Organization\
**Created:** [September 11, 2019, 6:12am UTC](https://forum.bubble.io/t/show-loader-while-rg-data-is-loaded/66566 "2019-09-11T06:12:36Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![meyerhd2](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@meyerhd2](https://forum.bubble.io/u/meyerhd2)\
**Post date:** [September 12, 2019, 9:38am UTC](https://forum.bubble.io/t/show-loader-while-rg-data-is-loaded/66566/5 "2019-09-12T09:38:49Z")

</div>

Try this, it works about 99% of time:

> [@Page and all elements completely loaded](http://forum.bubble.io/t/page-and-all-elements-completely-loaded/38146/9):
>
> Wait…there’s more…and its better! tldr: There is an astoundingly simple bubble-only (no Javascript) solution to the problem of knowing when a repeating group is fully-loaded that seems more accurate/reliable than EventListeners and MutationObservers. Also, learn how to use your browser’s console AND USE IT. Note: my case is a full-list repeating group with unknown number 0-200+ items that is main content of the page (think imessage). It presents a challenge because its fast when it has few ite…

You can skip beginning of thread about mutation observers, basically you need to count how many times “RP Group is loading is no”, and only show the group when that count is 2. RP Group is loaded in two “slugs”, that’s why you’re getting the flickering, your condition is being satisfied twice for one full “load”.

I say 99% because occasionally, Bubble misses one of the RG loading “flags”, ie, RPG is loading is yes (or no). But probably reliable enough to get you moving forward.

---

_[View the full topic](https://forum.bubble.io/t/show-loader-while-rg-data-is-loaded/66566)._
