Infinite loop problem

uh hi i made this function and i have infinite loop problem it do not stop and i dont know why can some one



blocks(9)
help?

It can be clearly seen that somehow else if condition under ComponentCreated event is getting invoked again and again.

but i dont see where the issue is

What loop are you talking about? I don't see any loop in this code, so please be more specific about what you're asking. Use lots of sentences and examples to describe the problem so we don't have to guess what your problem is.

Edit:

Eh, I didn't notice the "when" block from the extension.

The Component Created event creates more components, which trigger the Component Created event, which creates more components ...

You created runaway nuclear fission, with components.
image

1 Like

what kind of layout you want to create? Better to show us with some sketch.