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

fix(mouseout event): element mouseout event not working #913

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Aaron0502
Copy link

Brief Information

This pull request is in the type of:

  • bug fixing
  • new feature
  • others

What does this PR do?

Fix a bug that if the pointer moving from the extra doms to really "outside", the value of the private variable "_hovered" needs to be set to “new HoveredResult(0, 0)”. Otherwise, the mouseout event won't fire when you move in from really outside the element for the second time.

Fixed issues

null

Details

codesandbox demo: https://codesandbox.io/s/zrender-bug-mouseout-685bsn

Others

Please help to review and solve as soon as possible.

@plainheart
Copy link
Collaborator

It seems similar to apache/echarts#12227

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants