-
-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Elements do not return to :initial
after leaving the :hovered
state
#63
Comments
Same! |
absolutely |
any updates regarding this issue? |
Hey, I would need a reproduction for this! Also, I am really sorry for the late answer. Here is a link to a sandbox to help: https://stackblitz.com/edit/vue-zj2zpq?file=src%2FApp.vue You can modify it to your will and showcase what is the exact issue! |
Nice |
On my tests it goes back to |
This solution worked for me. Unless there are some other drawbacks to using |
I am wondering if this is intentional or an oversight. With most reactive animation libraries, I typically expect a transition to be reversed when a hovered state is left. Currently, elements respect the
:hovered
transition, but when the mouse leaves the element, the:initial
variant is not re-applied. It would be great if it were, otherwise everything is left "stuck" in the hovered state. This makes it difficult to implement any user-interactive animations. Otherwise, the library looks greatThe text was updated successfully, but these errors were encountered: