Skip to content
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 event missing when component hides on top of another (i.e. contextual menu) #16566

Open
ivalduan opened this issue Aug 25, 2019 · 4 comments

Comments

@ivalduan
Copy link

ivalduan commented Aug 25, 2019

I provide a codepen example showcasing the issue here,
https://codepen.io/ivalduan/pen/VwZpmMQ

  1. The component on the screen tracks correctly a hover state of the mouse pointer
  2. With the right button you create a contextual menu without covering the text and the hover state is correct when the mouse is over the menu
  3. When you select and option of the contextual menu on top of the background component the second does not receive an onMouseEnter event and the hover state remains false when it should be true
@ivalduan
Copy link
Author

ivalduan commented Aug 25, 2019

Reproduced on Chrome Version 76.0.3809.100 (Official Build) (64-bit)
Works correctly on Firefox 68.0.2 (64-bit)

@rchinerman
Copy link

My guess is that this is a browser implementation issue. If you use onMouseOver it works in Chrome, perhaps Firefox is internally using "mouseover" for "mouseenter" events.

@stale
Copy link

stale bot commented Jan 10, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution.

@stale stale bot added the Resolution: Stale Automatically closed due to inactivity label Jan 10, 2020
@stale
Copy link

stale bot commented Jan 17, 2020

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!

@stale stale bot closed this as completed Jan 17, 2020
@gaearon gaearon reopened this Apr 1, 2020
@stale stale bot removed the Resolution: Stale Automatically closed due to inactivity label Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants