I have searched and searched, and although I’ve found many issues similar to mine, none of the solutions seem to work for me.
I’m building an online course and I have a repeating group of items called “Sections” which are each pieces of content for the course. There are 2 types of content that can fill these sections: videos and text/instructions. The height of each section needs to adjust based on what’s inside.
It works exactly as I want it to for text type content (see the screenshot below -you can see how there are two different height cards with different content inside). But, I cannot get the card height to adjust for a video player.
I’m trying to use conditions to only show the video player when the section type is “video” and only show the text when the section type is “text.”
But it seems that I either have to make the cards way bigger to accommodate the video player, which looks bad when there is a small amount of text, or I have to make the video player really small so it fits in the smallest height card possible (like the “hints” one in the screenshot).
I’ve tried adding a group inside the cell and telling it to “collapse when hidden” (see screenshot below) but this doesn’t seem to work unless I make the cell height bigger, and then there is a big gap between the cards, which I don’t want.
Surely there’s a better way. Can anyone help?