Skip to main content
Question

Hovers on interactive components are malfunctioning and rendering oddly


Show first post
This topic has been closed for replies.

41 replies

dennsi
  • Active Member
  • 257 replies
  • November 4, 2022

Did you initially override the colors of the icon component?

I had the same issue and I resolved it this way:
Changed the original Icon components to some color I wouldn’t use (Figma’s default purple for Variants #9747FF works fine for example). Icon instances use a different color (=override).

The issue only persists if you don’t override colors of Icons in the instances.
Of course this requires you to have edit access to the shared library… which can be a problematic workaround.

Also make sure all the used icon components have the same layer structure and naming which is super important for general behaviour for interactions that change to variants.


Annette
  • 2 replies
  • November 4, 2022

Hi Dennis, what’s happening in my file is the following: I’ve got a button component with an icon as an instance property. I change the icon and create the hover interaction but the icon changes back to the one on the original component when I hover.

I tried what you’re suggesting (I think), changing the color of the icon components to Figma purple but it still didn’t work properly. Is there something I am missing? 🥴


dennsi
  • Active Member
  • 257 replies
  • November 4, 2022

Hey! Can you provide a link to a test file?
Be sure that your original button component set utilizes the same icon instance throughout every variant. And only change that when using the Button as an instance.


Niki_Cukier

Hey @Andrew_Chan I see you are very good and fast on fixing our problems 🙂 I have the same problem as some people on the previous comments. Some of my interractinve buttons dont work anymore, they have only one simple hover state and seems like its not working. Is there anything that can be done to fix this please?


Annette
  • 2 replies
  • November 7, 2022

Hey! I guess it had something to do with the instance property! I tried deleting it and then relinking it in all the component’s variants, and hover works fine now! Thank you!


Niki_Cukier

Hey @dennsi can you send me your email so i can share with you a link ? So interesting thing is that now it actually works, but only after a few tries of hovering it… thats weird


Niki_Cukier

@dennsi Ok… actually i realized whats the delay…
I hove another component above it which also has a variant with “mouse enter” and with a delay of 10000ms. So now i realized that my second hover button only starts working when my compenent above it “closes” the “mouse enter” state!
Dont know if i am explaining it good 😅
Do you have any idea why this is happening ?


dennsi
  • Active Member
  • 257 replies
  • November 8, 2022

Hey @Niki_Cukier I sent you a DM where you can provide me a link to the file.
First guess would be that often folks confuse while hovering with mouse enter


MJR
  • 1 reply
  • January 25, 2023

I was having the same issue and discovered having smart animation on the hover action caused the issue.

Once I switched the hover effect to instant the bug went away.


Denial_Keco

Hi, I can’t seem to get the hover working either.

I use instant always for hover and it doesn’t change.

Any idea what can it be besides nested components because I have a clean file with one newly created component so it should work but still no luck.

Thanks,

Deni


Hi, I had the same problem with flickering buttons and thought it was a bug, but actually it was my mistake 😀

I added “while hovering” interaction to both variants of the same component, which is wrong and causes this recursive loop. As soon as I removed “while hovering” interaction from the second (=“hover”) variant, the problem was solved. Maybe this helps someone 😊
image


GOMEZ_Tatiana

Hi, My hovering function is malfunctioning. When I hover it just moves to a different part of the screen (I am not making any mistakes) I do what I always do but now is not working property. Could I please get some help? 😦


GOMEZ_Tatiana

I tried the reset component state component state already but it this does not really appear if u are hovering


Hi, i had the same issue with a fixed componant, when i hover it, it bounce to initual position at the top and then go back to the fixed position (bottom of the screen in this case). For solving that, i just put the componant in an auto layout, fixed it and the issue was gone 😀 !


Sea
  • 1 reply
  • January 3, 2024

thank you, my problem has resolved because using your advice.


Pau Rodriguez

Hello, 

I’m sending a message here since the issue describe on that thread is happening again. All hover effects its effecting text behaviour, color changes. It malefaction the components. 

 

Based on the thread it was happening to a lot of people and FIGMA team jumped into to solved it. Can someone from FIGMA take a look again or provide an update of when will be fixed please? 
 

I have prototype demos for clients coming up.

Much appreciated it


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