Skip to main content

Slot loses constraints after duplicating instance

  • May 21, 2026
  • 1 reply
  • 16 views

Dan_Sweeney

Somewhat related to other reported slot issues, but I haven’t seem this particular issue reported:

 

I add a slot to a component instance, and set it to fill the slot container’s width

I duplicate the component instance

It loses the fill constraint and it reverts to fixed width

 

I haven’t tested if this is an issue for other scenarios (eg. ‘hug’ constraint)

1 reply

Dan_Sweeney
  • Author
  • New Member
  • May 21, 2026

After more investigation:

The ‘slot’ component that i was inserting had it’s width set as a variable (see img). Once I detached width the variable, it kept the ‘fill’ as expected after duplicating. 

I get the intention, but think I still would have expected the ‘fill’ to override the underlying ‘width’ variable after duplicating.