Trouble setting a component that changes the state of its parent

I’m having trouble setting a component that changes the state of its parent.
I have done this flux:

  • Create component A with default and hover variant
  • Create component B with two variants (dropdown closed and open)
  • Add component A as a child of component B. Add an On click → Change to interaction to the instance of component A. The two variants of component B will show up as options under the variant drop-down; you can open the drop-down, but you cannot select any variant besides the one that is already selected

Is this a bug of Figma? Or is my fault?

Hey Andrea, thanks for reaching out!

It’s hard to be sure without seeing your file, but from what you’ve described, you might be better off using multiple action variables instead: