# Repeat items on Div causing elements to disappear (Bug ?)

**URL:** <https://community.weweb.io/t/repeat-items-on-div-causing-elements-to-disappear-bug/8214>\
**Category:** Ask us anything\
**Created:** [April 20, 2024, 12:24am UTC](https://community.weweb.io/t/repeat-items-on-div-causing-elements-to-disappear-bug/8214 "2024-04-20T00:24:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![oblic](https://avatars.discourse-cdn.com/v4/letter/o/bcef8e/32.png) [@oblic](https://community.weweb.io/u/oblic)\
**Post date:** [April 20, 2024, 12:24am UTC](https://community.weweb.io/t/repeat-items-on-div-causing-elements-to-disappear-bug/8214/1 "2024-04-20T00:24:27Z")

</div>

I’m trying to bind an array of data to some custom elements.  
Whenever I bind the data to the Div, it makes everything disappear except my first text element.

Is this a bug, or am I missing something ??

Quick video here : [ESG 360 - Supabase test | WeWeb - 19 April 2024 | Loom](https://www.loom.com/share/171041ae0a334ec9a69864bc3709df62?sid=0e388b4b-fff1-41d2-a7eb-aee15abf7835)

---

<div class="post-metadata">

**Author:** ![Doc](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/doc/32/8594_2.png) [@Doc](https://community.weweb.io/u/Doc)\
**Post date:** [April 22, 2024, 2:57pm UTC](https://community.weweb.io/t/repeat-items-on-div-causing-elements-to-disappear-bug/8214/2 "2024-04-22T14:57:32Z")

</div>

Great question, thank you for letting us know.  
Let me check with the team and see if this is a bug and get back to you ASAP.

---

<div class="post-metadata">

**Author:** ![oblic](https://avatars.discourse-cdn.com/v4/letter/o/bcef8e/32.png) [@oblic](https://community.weweb.io/u/oblic)\
**Post date:** [April 22, 2024, 4:55pm UTC](https://community.weweb.io/t/repeat-items-on-div-causing-elements-to-disappear-bug/8214/3 "2024-04-22T16:55:08Z")

</div>

Thanks.  
If you put the div within a div and repeat the top div container, it seems to be working fine.  
Easy and viable workaround at least if any other devs face this bug . . .

---

<div class="post-metadata">

**Author:** ![thomlov](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/thomlov/32/8591_2.png) [@thomlov](https://community.weweb.io/u/thomlov)\
**Post date:** [April 22, 2024, 7:20pm UTC](https://community.weweb.io/t/repeat-items-on-div-causing-elements-to-disappear-bug/8214/4 "2024-04-22T19:20:25Z")

</div>

This is the way it is supposed to work, not a bug.

Here you can read about it, see Step 2 - Bind the data from a collection Item to an Element

> **[Display collection data | WeWeb documentation](https://docs.weweb.io/binding-filtering/display-data.html#step-1-bind-a-collection-list-to-a-container)**
>
> Learn how to display collection data in WeWeb
