# Handling Click Events for Dynamically Cloned containers

**URL:** <https://community.thunkable.com/t/handling-click-events-for-dynamically-cloned-containers/3286585>\
**Category:** Questions about Thunkable X\
**Created:** [October 20, 2024, 1:08pm UTC](https://community.thunkable.com/t/handling-click-events-for-dynamically-cloned-containers/3286585 "2024-10-20T13:08:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![fedegarcia30hzc97a](https://avatars.discourse-cdn.com/v4/letter/f/b38774/32.png) [@fedegarcia30hzc97a](https://community.thunkable.com/u/fedegarcia30hzc97a)\
**Post date:** [October 20, 2024, 1:08pm UTC](https://community.thunkable.com/t/handling-click-events-for-dynamically-cloned-containers/3286585/1 "2024-10-20T13:08:13Z")

</div>

Hi

Im creating a DVL using clone functionality, everything looks to be OK except the When Any \*\*\* click event.

Ive gone through lots of posts in the community but its either not a straight thing to be achieved or im looping in circles…let me explain my project

Ive got a container inside a layout which contains containers and objetcs (text or image)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/9/99ce499e431b044eaafde9756e93c78713222f8d.png)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/5/154224b2bfd1bc09c8b6f2d71ba2fc5e0151f42f.png)

Using blocks, i connect to Airtable using API and clone the container1 as many times needed. Cloning the container level also clones all the objects in the container.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/b/dbc2f7ffa1ff71cb69f1d0735237ee0178a8e73d.png)

Result after executing looks good

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/b/6b69755e736bedcb7e35ea4406226cd4bff8bf84.png)

But when trying to handle the clicks using the Any Image click…it does not work, even a simple alert to detect the click will not show up

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/7/c7d7f6c328b01adfac3dd403f41c2637e55f3e36.png)

Am i missing something? Do I need to clone also the components inside the container?

Thansk!

---

<div class="post-metadata">

**Author:** ![fedegarcia30hzc97a](https://avatars.discourse-cdn.com/v4/letter/f/b38774/32.png) [@fedegarcia30hzc97a](https://community.thunkable.com/u/fedegarcia30hzc97a)\
**Post date:** [October 26, 2024, 9:55am UTC](https://community.thunkable.com/t/handling-click-events-for-dynamically-cloned-containers/3286585/2 "2024-10-26T09:55:09Z")

</div>

Hi

No feedback on this topic? Ive seen some similiar issues in the community although not exactly the same as im cloning a whole container composed of containers and objects (labels and image).

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [October 29, 2024, 12:28pm UTC](https://community.thunkable.com/t/handling-click-events-for-dynamically-cloned-containers/3286585/3 "2024-10-29T12:28:13Z")

</div>

Hello @fedegarcia30hzc97a  
Thanks for your patience.  
Because you have a data viewer list you could use [“When Data Viewer List Item Click” block](https://docs.thunkable.com/app-design/ui-components/data-components/data-viewers/data-viewer-list)

---

<div class="post-metadata">

**Author:** ![fedegarcia30hzc97a](https://avatars.discourse-cdn.com/v4/letter/f/b38774/32.png) [@fedegarcia30hzc97a](https://community.thunkable.com/u/fedegarcia30hzc97a)\
**Post date:** [October 31, 2024, 4:45pm UTC](https://community.thunkable.com/t/handling-click-events-for-dynamically-cloned-containers/3286585/4 "2024-10-31T16:45:49Z")

</div>

Hi @ioannis

Ive replaced the DVL with the clone functionality. this would allow me to connect to different sources at runtime.

You can see in the screenshot i have container filled with containers and objects.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/2/b2ddf5992116d4ff0794bff31e4dae7d3d9ae0ea.jpeg)

During runtime,I setup the info of the url to connect to collect neccesary data

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/6/c69567ffd752a711eb7578a5ac9907611d45f4fe.png)

And iterate using clone block

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/0/c0100eee43d393d3927fe7d22eb6c8a8d152a166.png)

---

<div class="post-metadata">

**Author:** ![fedegarcia30hzc97a](https://avatars.discourse-cdn.com/v4/letter/f/b38774/32.png) [@fedegarcia30hzc97a](https://community.thunkable.com/u/fedegarcia30hzc97a)\
**Post date:** [October 31, 2024, 5:20pm UTC](https://community.thunkable.com/t/handling-click-events-for-dynamically-cloned-containers/3286585/5 "2024-10-31T17:20:06Z")

</div>

By the way, if i click on the image of the container1 (not cloned ones) the When any image click works as expected. Its in the cloned containers that the Any click is not working

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 15, 2024, 12:35pm UTC](https://community.thunkable.com/t/handling-click-events-for-dynamically-cloned-containers/3286585/6 "2024-11-15T12:35:26Z")

</div>

Hello @fedegarcia30hzc97a  
As I shared in a separate support channel, the issue happens only when a logic module is added to the project.  
We have flagged it to our engineering team and will provide an update as soon as possible.

If you need an immediate workaround, you could:  
A. Remove the logic module or  
B. Delete all the blocks inside the logic module, publish an update, and then update the module inside your project

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [February 13, 2025, 12:35pm UTC](https://community.thunkable.com/t/handling-click-events-for-dynamically-cloned-containers/3286585/7 "2025-02-13T12:35:27Z")

</div>

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