Skip to content

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

Open
Aaron0502 wants to merge 1 commit intoecomfe:masterfrom
Aaron0502:master
Open

fix(mouseout event): element mouseout event not working#913
Aaron0502 wants to merge 1 commit intoecomfe:masterfrom
Aaron0502:master

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.

2 participants