Is this a new way to approach to variants or is this a bug? (This is how it was yesterday)2022-12-19T23:00:00Z
Simple instant of button with inverted variant for pressed state works fine. Icon color is inverted as intended. However, once button instance is nested inside another component it’s suddenly stops working.
(This is how my each and everyone instance behave now)
4 Likes
I’m having the same issue. It seems to affect only nested components with variants. Color styles just stopped propagating into shapes somehow. Can anyone from Figma look into it, please? It’s quite annoying.
2 Likes
I think issues described in those threads could be caused by the same defect in the software:
I wish you’ll find a solution cause I have the same problem
I have a bunch of icon components (located in the IconLinear frame). Each of them contains a “Vector” layer that are filled with --black.
The IconFrame component uses instance swap property to change icons, and uses variants to set different colors for different states. I then use variant interactions to create an interaction IconFrame.
[图片]
This works well for top-level instances of the IconFrame. However, once I nest an IconFrame instance into another frame and make the frame a component, …
[2022-12-14 07-42-57~3]
Find a bug when the instance component behaves differently from main. I’ve made icons with overwritten colors. Overwrite stopped on some point of using components. Overall scheme looks like this:
Icon → Button → MenuBar.
Component property stopped working on this stage
Icon → Button -x-> MenuBar
Bug occurs only on instances. On main components everything works properly
1 Like
This one as well looks like the very same issue
Same issue. Wish it could be fixed somehow.
2 Likes
@Figma_Support Can we at least figure out either this expected behaviour or bug?
@Figma_Support having the exact same issue
I’ve got one method how to fix it, but its somtnhg like trick (rus language, activate comment mode on eng):
But of course I think that guys from Figma should fix it, or give advices, for example, how we should make menus and other stuff
system
Closed
March 9, 2023, 2:49pm
9
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.