Skip to main content
Pablo_Romero_Jaren
November 10, 2023
Question

Instance swap issue. Height set to fixed

  • November 10, 2023
  • 21 replies
  • 1669 views

I’m experiencing an issue with an instance swap property in Figma. I have a Card component with Auto-layout (width: fixed, and height: hug). It wraps an instance of a component associated with an instance swap property (width: fill and height: hug).
When I create an instance of Card and change the inner instance through the instance property it works fine the first time. From there, if I change it again, Figma sets the height of the inner instance to fixed. This crops the content.

Does anyone knows why this happens and how to fix it? Is it a bug in Figma?

File here: https://www.figma.com/file/eikqjwKX167uMlUeiGRUOM/instance-swap-issue?type=design&node-id=0%3A1&mode=design&t=4douRHhJOBFMc5Oa-1

This topic has been closed for replies.

21 replies

Didrik Lepistö
New Member
October 9, 2025

Still not fixed.