Skip to main content
Solved

Can I using an interaction show specific states of an instance?

  • February 8, 2024
  • 3 replies
  • 185 views

Basically I have a component that is built like a fullscreen overlay in two variations, one Positive variant and one Negative variant. In my design I have a list of items, depending on whether a user taps a positive cell vs a negative cell I want to display the corresponding overlay. The list cells are also components with a positive and a negative variant and I seem to be able to pull an interaction from each variant to the overlay component, but I can’t seem to be able to direct the interaction to a specific variant of the overlay component, but rather to the “component-group” frame resulting in interaction always displaying the first variant of the component.

And just to be clear, I realize I can break up the overlay into two individual components and solve it that way, and maybe that’s even the way it’s supposed to be solved, I just wanted to know if there’s some quirk here in Figma interaction that I could use that I’m unaware of?

Thankful for any input!

Best answer by Gayani_S

Hey @Max18 , thank you for reaching out! This sounds like a feature limitation to me “I can’t seem to be able to direct the interaction to a specific variant of the overlay component ”.
To make sure I’ve understand this case correctly are you able to share a screen recording with me? I’ll be able to share this internally to ask the teams if there is a better solution to create this than to break up the overlay into two individual components.

Thank you!

This topic has been closed for replies.

3 replies

Gayani_S
Figmate
  • Community Support
  • Answer
  • February 12, 2024

Hey @Max18 , thank you for reaching out! This sounds like a feature limitation to me “I can’t seem to be able to direct the interaction to a specific variant of the overlay component ”.
To make sure I’ve understand this case correctly are you able to share a screen recording with me? I’ll be able to share this internally to ask the teams if there is a better solution to create this than to break up the overlay into two individual components.

Thank you!


  • Author
  • February 13, 2024

Hi @Gayani_S ,

Thanks for your response. After some consideration I think I was chasing a non-optimal solution, so my initial question is no longer valid.

Thanks!
Max


Gayani_S
Figmate
  • Community Support
  • February 13, 2024

Hey, no worries! Please feel free to reach out if you have any further questions.