-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
[Bug Report][3.6.12] isHovering not defined before an actual hover #20150
Comments
so: !!isHovering, undefined is a falsey value. |
@blalan05 what you try to show? I know js, but this is not an issue do not hover "hover button" and click "change styles" button and see how styles changes. I hope it make sense |
|
Environment
Vuetify Version: 3.6.12
Vue Version: 3.3.2
Browsers: Chrome 126.0.0.0
OS: Mac OS 10.15.7
Steps to reproduce
add
<v-hover v-slot="{ isHovering, props }">
you should find that isHovering not defined and make any logic impossible
Expected Behavior
isHovering should be false when component mounted
Actual Behavior
isHovering is not defined which make some complex logic implementation impossible until element was actually hovered
Reproduction Link
https://play.vuetifyjs.com/#...
Other comments
Hi all! I found out that isHovering is not defined from the very beginning until it was actually hovered. I use some complex logic with element intersection on scroll and I need this to be true/false when component mounted
The text was updated successfully, but these errors were encountered: