-
-
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
Hover on nested element removes "hovered" styles #191
Comments
I suspect the problem is caused by event bubbling. I think these handlers motion/src/features/eventListeners.ts Line 48 in 5e2346a
As a temporary workaround I set |
I set child to pointer-events: none; and it worked. |
I am pretty sure it's possible to solve without workarounds, so we still can have pointer events inside. |
This behaviour is caused by this: motion/src/features/eventListeners.ts Lines 53 to 56 in 5e2346a
I wonder if there is any use case for triggering this on |
System info
Reproduction
Describe the bug
Hovered styles are removed when we hover on grandchild and it's descendants.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: