Skip to main content

Expose Nested Instances lost if you swap the nested instance

  • September 27, 2023
  • 2 replies
  • 635 views

Daniele_Q

Hi Everyone…

This is something I came across lately.

If you set a master component to reveal the properties of a nested components, it works well until, in the instance, you swap the nested component ( which has indeed a swap instance property ). If you do so, exposed nested component properties disappear.

It would be good if the instance retains the ‘expose nested property’ setting even if you swap the nested component. Whatever property the swapped nested component has, it shows if the ‘expose nested property’ setting is ON.

I hope it makes sense?

Thanx!

2 replies

Celine_
Figmate
  • Community Support
  • 3607 replies
  • October 6, 2023

Hi Daniele,
Thank you for your feedback! Yes, it’s intended because of the “override”.
Figma records the changes you make to an instance and preserves them, even when you swap between instances or select different variants. This is when you overrides to instances, you can find more information here: https://help.figma.com/hc/en-us/articles/360039150733

FYI, if you want to reset overrides (= reset the instance to restore the properties of the main component. You can choose to reset the entire instance, or just a specific property), you can follow these steps: https://help.figma.com/hc/en-us/articles/360039150733#Reset_overrides

I switched your topic as a feature request. Thank you!


Daniele_Q
  • Author
  • 14 replies
  • October 7, 2023

Hey Celine, ok I see it’s intended and it make sense.
Thanx for moving the topic into feature request, as in some cases it would be useful that the properties of the override get exposed if the parent component has ‘‘show nested properties’’ switched on.

Thanx again!
Daniele


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings