Shrinking pop ups

If you have things that don’t always show as populated, you can put them in a group or groups (either together or individually depending on what you need) and check collapse the group’s height when hidden. (You must then manage showing those groups when you need them obviously. This is easy using Conditions.)

If you have an RG, note that HOW MANY CELLS you show in EDIT MODE controls the minimum height of the RG.

Once you’re done fiddling with an RG in edit mode, set that RG to display just one row. If u were displaying a larger num of columns before, you’ll need to drag the bottom up of course. That’ll become your minimum height for each row. And now as your RG grows and shrinks items below it will move down/up.

This discussion might also be of help: