Screen height adjust based on open/closed accordion?

Hi, I’m currently designing a mobile website that incorporates ‘smart accordions’ using variants and auto layout, one of which condenses info on the website footer.

Question is… is there a way to have the screen (frame) adapt in height based on whether the accordion sections are open or closed, magnetically snap to the bottom of the frame content?
Currently, if the frame height is set to the accordions closed, when opened in prototype view the content clips down out of the bottom of the screen when opened. The alternate way is to set screen(frame) height to accommodate the height of all accordions open… leaving a large white space at the bottom in prototype view if I close the accordions.

Any insight would be appreciated. :slight_smile:

Alan

It looks like you need to add Auto Layout to the top level frame (screen).

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.