Hi,
I’m not sure if this is a bug or a feature request, but I’d like to understand why Variants behave differently depending on how you control them.
Demo file to illustrate my issue
I have a Variant that has a size (large, small) property, and a type (round, square) property. The large variant has two sub-variants (right and left), while the small has only one variant (that I call n/a for lack of conditional variant properties).
When switching a size=small and type=square to large using Variant properties, it switches to size=large and type=square (and position=right but that doesn’t matter).
When binding the size property to a variable that has two modes (same as the values, large and small), and doing exactly the same but using the Mode switch, the result is different, and the size=small and type=square turns into a size=large and type=round…
I know the issue is related to the fact that Figma doesn’t find an exact match (position=n/a has no equivalent in size=large), but usually Figma rounds to the closest Variant (what it does when using properties). I wonder why it doesn’t when using mode switching.
Any help?