-
Notifications
You must be signed in to change notification settings - Fork 19.6k
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: #12812 #12834
fix: #12812 #12834
Conversation
cb7348a
to
4c91a19
Compare
Why hide tooltip rather than relocate it to the proper coordinate? |
Let me have a try. |
@plainheart The effect is as follows,Please help review, thanks! |
5e6690d
to
ad26dc5
Compare
@plainheart All the problems are solved, Please help review, thanks! |
Finally, the same changes should be applied to |
@plainheart All the problems are solved, Please help review, thanks! |
@plainheart Thank you for your guidance. |
@liulinboyi Thank you, great work! All looks good to me now, please @pissang have a look. |
Ok, no problem. |
Thank you for your guidance. @pissang I have fix some spell error and the _moveTooltip was renamed, Please help review, thanks! |
Seems there are still two request changes from @plainheart @susiwen8 need to be resolved before this PR can ben merged |
@pissang All request changes are done. Can i fix other files spell error? |
Merged. Thanks for your contribution! |
Congratulations! Your PR has been merged. Thanks for your contribution! 👍 |
feat(tooltip): allow adding classes to tooltip DOM and migrate changes to next branch in #12834.
Brief Information
This pull request is in the type of:
What does this PR do?
when alwaysShowContent is true change or rotation window size and restore will hide tooltip
Fixed issues
Close #12812
Details
Before: What was the problem?
1- display echart tooltip exemple: https://echarts.apache.org/examples/en/editor.html?c=line-tooltip-touch
2- add option 'alwaysShowContent: true' for tooltip
3- click on the chart for display tooltip
4- change window size or rotation
the tooltip move, not corresponding to the selected point position
After: How is it fixed in this PR?
when alwaysShowContent is true change or rotation window size and restore will hide tooltip
Usage
Are there any API changes?
Related test cases or examples to use the new APIs
NA.
Others
Merging options
Other information