Is there a reason that strips with expand()/collapse() contents don’t automatically resize to fit what is expanded? Is there a way to do this? Or do I need to stack everything on top of each other and make the strip the maximum size I want it to be?
Hey,
I’m afraid that there’s no option to resize an element dynamically. The only option is to have multiple elements on top of each other and show / hide them.
Best,
Tal.
hahahaha. You end up with a page the size of a football field, all empty when things are collapsed. I mean, if you’re going to implement expand/collapse, give it the ability to resize the container and ultimately the page; otherwise… not much point–c’mon Wix. May as well just display everything. Your user will find some way to get lost down there at the bottom of the page thinking everything “just disappeared,” I guarantee it.
For anyone still stuck on this, you can move the expandable/collapsible content into it’s own strip, and then apply the expand and collapse functions on that strip