(SOLVED) Hidden Element height's are not collapsed on page load

I have a repeating group setup that allows a user to view and cancel appointments. Depending on conditions a window appears asking for confirmation.

When the page loads it looks like this:

When I actually click cancel and then click yes or no, the elements collapses as I need it to, and it ends up looking like this.

Here is what it looks like in the editor

How do I ensure that the height is collapsed on page load?

EDIT: I made all the elements fixed width and it fixed the issue.

1 Like