Skip to main content
Question

Bug: Setting component variants to fill in a hugging parent increases the width infinitely

  • May 7, 2026
  • 0 replies
  • 5 views

Matt_Willett

I came across a fun bug today where setting the child of an auto-layout layer made its width increase infinitely.

Usually, when setting child layers to fill width, the parent auto-layout layer would auto-switch to a fixed width. However, today, that didn’t happen, and the container kept growing until I manually set it to fixed.

See the video.

In this case, I have variants for contents (text, number, slot) that I’ve placed in the header cell (but not yet in the body cell), all in the same variant set