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
Active bar and tooltip persist despite mouse cursor leaving chart area #4466
Comments
It would be nice if there was an always-reproducable reason for this as it took me quite some time to have happen to me. I also cannot reproduce in Firefox, only Chrome. @HHongSeungWoo any thoughts since I think you dealt with this before with active tooltip a little bit? |
Confirming, I observed the bug, only in Chrome. Not in Firefox. |
Weird.. |
It appears that the mouseout and mouseleave events are not being received due to component re-rendering. |
Reproduction link
Steps to reproduce
What is expected?
The active bar and tooltip should only be visible while actively hovering over a bar.
What is actually happening?
The active bar and tooltip persist even when the mouse cursor is no longer hovering over the chart.
This issue only seems to occur when the
activeBar
prop is present on the<Bar>
componentSmaller charts seem to reproduce the bug more frequently and at slower mouse speeds
Loom screen capture of the issue:
https://www.loom.com/share/39c983069fda4f5f81c3881672d1aeba?sid=9a27723f-6eb9-4d73-a4f0-16973994439a
The text was updated successfully, but these errors were encountered: