Figma Support Forum

Bounding component box not resizing

I am trying to create a dynamic component which contains:

  1. text with a background which grows vertically when text spills over 1 line
  2. a dot that is sits beside the text and stays centrally aligned to the background when the text frame grows.

The problem I am having is that the component that these live within, doesn’t grow with the frame. This is making it difficult to space elements below it because the distance is inaccurate as the component box has not grown. Difficult to explain but any help would be really appreciated!

Screenshot 2021-04-22 at 16.43.10

Your “Component” layer must also be Auto Layout in order for it to grow.