Figma Support Forum

How does Figma dynamically adjust the parent container when scrolling 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

Prototype

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.