Skip to main content
Solved

Changing a variant of a component loses its link


Daniel61

Hi Figma community,

I have a component with 2 variants – one mobile, one desktop. Its a simple text-button-image element.

I link the desktop button of the instance to another page. When I switch the variant to its mobile equivalent, it looses its link. It still knows it has a “click” interaction but it goes to nowhere.
Why is that?

Thanks for your help!

Best answer by Daniel61

Found the solution: make sure that in your main-comp, nothing is linked on the button otherwise it will always override the link in your instance when you switch!

View original
This topic has been closed for comments

2 replies

Daniel61
  • Author
  • New Member
  • 2 replies
  • May 6, 2024

Bildschirmfoto 2024-05-06 um 12.16.37


Daniel61
  • Author
  • New Member
  • 2 replies
  • Answer
  • May 6, 2024

Found the solution: make sure that in your main-comp, nothing is linked on the button otherwise it will always override the link in your instance when you switch!


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