Skip to main content
Answer

My component hover the wrong fill

  • May 25, 2024
  • 2 replies
  • 106 views

Antoine19

i don’t know how to put it in words but i would like to duplicate my main component many times and just replace the fill just like the text. But the fill just don’t replace the one in the main component while hovering. just like here (i can’t upload here because i’m a new user to the forum)

Video

Best answer by Gayani_S

Hey @Antoine19, thank you for sharing a screen recording of your issue!

I’ve tried to reproduce this on my end, I’ve created a component with a variant and added a on hover interaction. When using the component and changing the image you need to change the image of the variant too. Please take a look at my screen recording.

Hope this clears your question, if not please let me know, happy to explain further!

This topic has been closed for replies.

2 replies

Antoine19
  • Author
  • May 25, 2024

Gayani_S
Figmate
  • Community Support
  • Answer
  • June 10, 2024

Hey @Antoine19, thank you for sharing a screen recording of your issue!

I’ve tried to reproduce this on my end, I’ve created a component with a variant and added a on hover interaction. When using the component and changing the image you need to change the image of the variant too. Please take a look at my screen recording.

Hope this clears your question, if not please let me know, happy to explain further!