-
Notifications
You must be signed in to change notification settings - Fork 45.6k
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
onMouseEnter target/relatedTarget incorrect #785
Comments
sophiebits
added a commit
to sophiebits/react
that referenced
this issue
Jan 3, 2014
@spicyj Nice! Should the type also be set? |
See #772. :) |
(: |
yungsters
added a commit
that referenced
this issue
Jan 7, 2014
Set target properties explicitly for enter/leave
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems like the
target
andrelatedTarget
properties of the synthetic "mouseenter" event are reversed. (The target should be—but isn't—the element being entered.) I'm not familiar enough with the code to know how it's supposed to work, but it seems like the wrapped native event is a "mouseout" event and the properties are never being swapped to account for that fact.Here's a reduced test case:
http://jsfiddle.net/matthewwithanm/sVmer/
The text was updated successfully, but these errors were encountered: