Skip to main content
Solved

How does Figma dynamically adjust the parent container when scrolling content?


ouwei

When there are several different widths of content in the container, how can the parent adjust the width responsively according to the content size?

I know that there is a Hug contents option in Auto layout, but it seems impossible to implement it in overflow scrolling?

Is it my lack of skills, or is it that Figma doesn’t support this feature?

image

Design

Figma – 18 Jul 21

Best answer by Gleb

There is no way to do that with scrolling. You can use Drag trigger + smart animate to switch between different widths of the parent and content.

View original
This topic has been closed for comments

2 replies

Gleb
  • Power Member
  • 4706 replies
  • Answer
  • July 18, 2021

There is no way to do that with scrolling. You can use Drag trigger + smart animate to switch between different widths of the parent and content.


  • 0 replies
  • August 17, 2021

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


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