Skip to main content
Question

I have a canvas set at auto-layout with Hug Content (this makes it easy to add elements without re adjusting the canvas height) but I cannot set fixed scrolling within the child elements

  • November 1, 2024
  • 5 replies
  • 35 views

Aaron_Lawrence

I have a canvas set at auto-layout with Hug Content (this makes it easy to add elements without re adjusting the canvas height) but I cannot set fixed scrolling within the child elements ex: status bar and fixed buttons.

Is this something not yet available in Figma — I don’t want to set child elements to absolute positioning because it will lose the structure I have set at the “Canvas/Artboard” level…

5 replies

Pavel_Kiselev
  • Power Member
  • 438 replies
  • November 4, 2024

Got a screenshot of what you are trying to do?


Aaron_Lawrence

Hey Pavel,

Yeah you can see here the artboard has the auto-layout set at hug


Aaron_Lawrence


Pavel_Kiselev
  • Power Member
  • 438 replies
  • November 10, 2024

Got it. I’d give it a better structure and use a scrolling behaviour in a dedicated frame. For me this is more natural way to get it done.

Here are a few examples if you like → https://www.figma.com/design/lDXNdlwsKFFBMDeeOb8Qbe/Mobile-Scrollable-Layouts


Aaron_Lawrence

Thank you Pavel,

Yeah this is very helpful. Yeah it’s totally what I do too. Was just more wondering why I can’t sent the artboard to auto-layout with hug and have fixed elements within it. You can do this using the tool Framer and they recommend designing site like this so was hoping that Figma would carry that over as well.

Thank you again for responding and your help as well—super appreciated.

AA


Reply


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