Collapsing empty repeaters

I want to use 3 slightly different repeaters for 3 databases on my dynamic page.

The problem is:
If there’s no matching entries in database 1, it doesn’t collapse repeater 1 (as there is no output) and there’s a big blank with the same height like the repeater should have.
I simply want repeater 2 to move up to repeater 1’s place then.

How can I solve this issue? Thanks in advance! :slightly_smiling_face:

If there are too many pixels between 1 and 2, 2 does not collapse (and I assume you collapse it by code). Also, if the are of different width, collapsing also could not work. What I so is put an invisible box of equal size around the repeaters and collapse the box, not the repeater.

That’s exactly what I was looking for, thanks!

This took me hours of checking my code, until I realized that it’s not a code issue…
It’s absolutely hilarious that you need to do this kind of stuff to make things work.
However, I’m glad there are people like you, who know how to solve it!

Have a nice weekend and thanks again! <3