Skip to main content
Solved

How do I make the elements around my text automatically go down instead of the text running into the other elements?


I wanted to make a read more section where when you click on read more, the text pushes the other elements down, and when you click to read less, the elements return to their original placement. I followed the steps similarly to an accordion feature but with text, no arrows or lines. I auto-adjusted the frame, but everything got jumbled up soon after that. Link

Best answer by Nate_G

Ok, thanks for sharing.

It looks like you have a few elements set to “Absolute Positioning”, which will not move as you expand or collapse your About section.

So you’d need to turn off “Absolute Positioning” for those elements you want to move with the About section. And then put all that content in an auto-layout frame, so as the About section expands/collapses the content will move accordingly.

Example Prototype
Updated File + Fix

View original
This topic has been closed for comments

6 replies

Nate_G
  • Power Member
  • 180 replies
  • October 7, 2023

@JuneBug You could put that expanding/collapsing component + content inside an auto-layout frame, that way as it expands it will fill the space and push the other content down.

Example Prototype
Example File


  • Author
  • 5 replies
  • October 8, 2023

Thank you! I feel like I’m close but not quite. I was able to successfully replicate it like you did just to test it out but now that I’m trying with the actual frame I’m working on it doesn’t work. The auto layout doesn’t apply to the bottom sheet on my frame and I’m not sure what is causing the auto-layout to not apply itself.


Nate_G
  • Power Member
  • 180 replies
  • October 8, 2023

@JuneBug Hum🤔, that is weird. If you can share a view-only version of your file, I can take a look.


  • Author
  • 5 replies
  • October 8, 2023

Nate_G
  • Power Member
  • 180 replies
  • Answer
  • October 8, 2023

Ok, thanks for sharing.

It looks like you have a few elements set to “Absolute Positioning”, which will not move as you expand or collapse your About section.

So you’d need to turn off “Absolute Positioning” for those elements you want to move with the About section. And then put all that content in an auto-layout frame, so as the About section expands/collapses the content will move accordingly.

Example Prototype
Updated File + Fix


  • Author
  • 5 replies
  • October 10, 2023

Thank you so much! I got it now.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings