Solvedradium Elements that are hidden when in the hover state come back with the hover state active
basarat posts at
17 Answers
Share
Original✔️Accepted Answer
I am running in to this issue as well, I was thinking maybe there could be an API call we could make like radium.clearHover()
that clears all current hover state. It's a workaround, at best, but could be useful.
Related Issues:
6
radium Elements that are hidden when in the hover state come back with the hover state active
I am running in to this issue as well E.g if you have some hover styles on a button And when you cli...
E.g. if you have some hover styles on a button. And when you click that button the button is hidden. When the button comes back since it never got the
onMouseLeave
it comes back with the hover state active.JSBin
https://jsbin.com/yesisoxiti/1/edit?html,js,output
Code
Demo