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

Clear pie chart hover highlights on mouseleave #1723

Merged
merged 2 commits into from Nov 13, 2019
Merged

Conversation

mure
Copy link
Contributor

@mure mure commented Nov 6, 2019

If the last mousemove event on a pie chart is over a slice, it will get stuck in the highlight state. We need to trigger a hover event when the mouse leaves the placeholder element so that highlights get cleared.

This is especially a problem when the radius of a pie chart is 1, such that there is no gap between the edges of slices and the container element:

image

@atmgrifter00 atmgrifter00 merged commit efb67df into master Nov 13, 2019
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