-
Notifications
You must be signed in to change notification settings - Fork 19.7k
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(tooltip): keep axis tooltip open on refresh #13100
Conversation
@dr-itz Thanks, but could you make a PR to |
sure, will do. Out of curiosity, will there be another 4.x.y release? |
@dr-itz 4.9 is the last one which will be released in few days. |
thanks for letting me know. I'd really appreciate this PR here to be part of 4.9 since it's something we no proper workaround for. Of course I'll do the fix for |
I'm afraid that's too late, 4.9 has been voted through, so we cannot add any feature or fix in this release @dr-itz |
I only just realized that there is a Btw 😍 the move to TypeScript in |
d1ab266
to
3319561
Compare
changed it to use that. It's simpler and works as expected. I also tested the non-axis trigger and couldn't find any problem. I'm not familiar enough with this to see why I'll rebase for |
3319561
to
b367718
Compare
sorry for the delay..I finally found some time and rebased this to |
LGTM. Clearing |
Congratulations! Your PR has been merged. Thanks for your contribution! 👍 |
Brief Information
This pull request is in the type of:
What does this PR do?
Fix a tooltip disappearing when tooltip trigger is "axis" and data is refreshed.
Fixed issues
Details
Before: What was the problem?
Chart with datazoom slider and live update every few seconds. The slider is somewhere in the middle with a fixed value range. When the user hovers over the data, the tooltip with trigger "axis" shows correctly. But as soon as new data is pushed to the chart the tooltip disappears. This PR fixes that.
After: How is it fixed in this PR?
Tooltip with trigger axis stays when data is refresehd.
Usage
Are there any API changes?
Related test cases or examples to use the new APIs
NA.
Others
Merging options
Other information