Skip to main content
Solved

"While hovering" state for variable is not working


Show first post
This topic has been closed for comments

36 replies

Gabriela_Sanders

That also doesn’t seem to revert but maybe I am doing something wrong?

Ex. If you have Inactive (base variant) and Active variant of a field input…

  • Place the Inactive variant
  • Set Mouse Enter to the Active variant
  • Set Mouse Leave to the original Inactive variant
  • View in the prototype, it retains the Active variant only, even on Mouse Leave

EDIT: This is actually using variants because variable colors weren’t changing for me but I think this demonstrates the issue I’m experiencing with Mouse Leave.

EDIT 2: Oh wait this is now working for me with color variables! Yay! Thank y’all for the help. Would love for this to work with variants too but that seems like a separate issue.


  • 1 reply
  • March 28, 2024

This happens for me too. When changing a variable (for me a number) while hovering, it doesn’t revert to the original state when you leave the hover, even when adding a mouse-leave interaction to set the variable to the original variable.
I have a number variable - ‘shown state’ set to hidden = 0, show = 129, and have set a while hovering interaction to set the shown state to 129, with the original value being 0 on it’s height. It expands in height to 129px while hovering, but does not revert to 0 when not hovering and on mouse leave. It’s extremely frustating.


Reinier
  • 1 reply
  • March 28, 2024

Maybe it’s an idea to leave out functionality that doesn’t work in Figma. So Figma users don’t get frustrated and die trying 😤


Flagging that with more complex prototypes, using mouse in and mouse out still doesn’t have consistent hover behavior, and often the hover states will remain active even if mouse out has happened.


jurijsk
  • 7 replies
  • May 10, 2024

Just to keep this issue alive will add that I have same issue.


Thao_Pjn
  • 1 reply
  • July 12, 2024

Is it still not be fixed? Mouse enter and leave also doesn’t work to me T.T is there anyone have some idea to create the similar functions instead of? Thanks in advanced.


Stefan_Bertels

same problem here


Lichelle_Wolmarans1

Also having the same issue - wasted a lot of time trying to find a solution, but nothing works


PlasticOven
  • New Member
  • 2 replies
  • August 23, 2024

I’m having the same issuer here too with “While Hovering” it doesn’t seem to reset the variable when you stop hovering. I tried using Modes and Conditional statements but nothing seems to work.


Margaret_Hogg2

Like, this is a bug right? I saw another post where the solution was to use “on mouse enter” and “on mouse leave” but the hover option should just work as expected, right?


  • 0 replies
  • December 9, 2024

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.


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