Skip to main content
Solved

Variant Issue with Nested exposedInstances and Switching Off Instances

  • March 26, 2023
  • 1 reply
  • 317 views


all nested props are on 👆


one of the nested props is off 👆

I have noticed that when a variant contains nested exposedInstances instances, and you switch off one of them, exposedInstances returns an error. However, I believe that this shouldn’t be the case, as Figma allows this action. Instead, it should simply remove the switched-off instance from the array or add a specific property, such as unchecked. Am I missing something here?

Best answer by PavelLaptev

I found what cause that. I had a line to skip invisible layers:

figma.skipInvisibleInstanceChildren = true;

Just remove it.

View original
This topic has been closed for replies.

1 reply

  • Author
  • 6 replies
  • Answer
  • March 26, 2023

I found what cause that. I had a line to skip invisible layers:

figma.skipInvisibleInstanceChildren = true;

Just remove it.


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