# Problems with conditional loading?

**URL:** <https://forum.adalo.com/t/problems-with-conditional-loading/3893>\
**Category:** Get Help\
**Created:** [September 8, 2020, 6:08pm UTC](https://forum.adalo.com/t/problems-with-conditional-loading/3893 "2020-09-08T18:08:56Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![rjp](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/rjp/32/571_2.png) [@rjp](https://forum.adalo.com/u/rjp)\
**Post date:** [September 8, 2020, 6:08pm UTC](https://forum.adalo.com/t/problems-with-conditional-loading/3893/1 "2020-09-08T18:08:57Z")

</div>

My conditionals are rendering and then disappearing if conditions are not meat, this is making for a very confusing UI. Any idea how to stow them from rendering then disappearing?

---

<div class="post-metadata">

**Author:** ![vancewong](https://avatars.discourse-cdn.com/v4/letter/v/82dd89/32.png) [@vancewong](https://forum.adalo.com/u/vancewong)\
**Post date:** [September 9, 2020, 8:49am UTC](https://forum.adalo.com/t/problems-with-conditional-loading/3893/2 "2020-09-09T08:49:44Z")

</div>

Sounds like a bug, you’d have to get help from the devs!

---

<div class="post-metadata">

**Author:** ![anon78309838](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@anon78309838](https://forum.adalo.com/u/anon78309838)\
**Post date:** [September 9, 2020, 9:27am UTC](https://forum.adalo.com/t/problems-with-conditional-loading/3893/3 "2020-09-09T09:27:43Z")

</div>

Can you provide an example of this @rjp?

---

<div class="post-metadata">

**Author:** ![ben1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/ben1/32/1040_2.png) [@ben1](https://forum.adalo.com/u/ben1)\
**Post date:** [September 10, 2020, 7:05am UTC](https://forum.adalo.com/t/problems-with-conditional-loading/3893/4 "2020-09-10T07:05:41Z")

</div>

Hey @anon78309838,

I am seeing the same type of behavior. You can see in this video that when you open the app, nothing loads in the filtered list and the text with conditional visibility still showing. The visibility is based on count of the list items with the same filters ad the list.

[https://drive.google.com/file/d/14UXqzhvZaHX6vdSxHgDlj33ezEVrqf6x/view?usp=drivesdk](https://drive.google.com/file/d/14UXqzhvZaHX6vdSxHgDlj33ezEVrqf6x/view?usp=drivesdk)

---

<div class="post-metadata">

**Author:** ![anon78309838](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@anon78309838](https://forum.adalo.com/u/anon78309838)\
**Post date:** [September 15, 2020, 11:37am UTC](https://forum.adalo.com/t/problems-with-conditional-loading/3893/5 "2020-09-15T11:37:20Z")

</div>

I’m still a bit confused what exactly is the problem here as there are 2 things coming to mind.

1. The list items that should not be visible at all are showing for a few seconds before the visibility rule takes affect?

2. Something else is happening.

If it’s option 2 could you give me a bit more context on that video and what should be happening.

---

<div class="post-metadata">

**Author:** ![ben1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/ben1/32/1040_2.png) [@ben1](https://forum.adalo.com/u/ben1)\
**Post date:** [September 15, 2020, 11:52pm UTC](https://forum.adalo.com/t/problems-with-conditional-loading/3893/6 "2020-09-15T23:52:13Z")

</div>

Hey @anon78309838,

Sorry for not being clearer with that.

There is an empty state and a list. If the list is empty, the empty state shows. What you see in the video is that both components load when first opening the app, but then the wrong component persists. I.e. the empty state. You see this in the video when the app first opens. But after you click to another page and back, things load correctly. You see that at the end of the video.

---

<div class="post-metadata">

**Author:** ![rjp](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/rjp/32/571_2.png) [@rjp](https://forum.adalo.com/u/rjp)\
**Post date:** [September 16, 2020, 12:29pm UTC](https://forum.adalo.com/t/problems-with-conditional-loading/3893/7 "2020-09-16T12:29:12Z")

</div>

The problem with some of my conditionals is #1

---

<div class="post-metadata">

**Author:** ![anon78309838](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@anon78309838](https://forum.adalo.com/u/anon78309838)\
**Post date:** [September 21, 2020, 1:03pm UTC](https://forum.adalo.com/t/problems-with-conditional-loading/3893/8 "2020-09-21T13:03:47Z")

</div>

@rjp Are you experiencing the same issue as @ben1?

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [October 1, 2020, 1:03pm UTC](https://forum.adalo.com/t/problems-with-conditional-loading/3893/9 "2020-10-01T13:03:49Z")

</div>

Closed on October 1, 2020, 1:03pm UTC

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