Skip to main content

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

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.


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