I created a small demo for the icon hovering state which will change color and show a tooltip on hover. But when I was using the variables to control this, it seems like the “While hovering” state is not working properly and it will never change back to the original state anymore.
wondering whether it’s a bug? shouldn’t the variables change back to the default states when the cursor is no longer there?
(also I’m not able to use the “mouse out” together with “while hovering”, wonder how others deal with this)
same here. it behaves the same as “mouse enter”. and gets especially funky if you have logic to change its appearance like +4 to it’s height while hovering. it’ll grow each time you hover with no return to its not hovered state.
Same. Trying to change a text variable when hovering on various components. Prototype doesn’t make the switch. Tried mouse enter and mouse leave, no help
Strange thing is, it will only work for the last defined row. It will change all the rows to the light blue color on mouse enter but will only switch back to white on the last defined mouse action.
Same issue here. Would be fantastic to have it work since I have many buttons in my design system and would hate to create 300 variants just for hover interaction for each button.
I am having the same issue. With mouse enter / mouse leave - the hover state sticks. When I try to use hover to set the variable, nothing happens. Just wonky all around.
Same here, although I am 100% it worked the first time I previewed the animation. After that I can’t get it to work anymore: while hovering doesn’t do anything for me, mouse leave don’t set the collar variable to the value I want, so I couldn’t find a way around this.
I’m getting something very similar. I try to update a string variable for a tooltip on mouseEnter, and the show the tooltip onHover, but the onHover function doesn’t work (unless I remove the variable part)