-
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
bug(tooltip): tooltip arrow will follow borderWidth. close #14373 #14393
Conversation
Thanks for your contribution! |
Hey, do I need to resolve the conflicts or the maintainer will resolve? |
@g7i Hi, It will be great if you can resolve the conflicts |
@g7i Please don't commit the files in |
Ohh okay, sorry did it by mistake. Now reverted the changes. Thanks.... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left my several thoughts. We can discuss them together whether they are reasonable or not.
Seems we can't make it merged in 5.1.2. Let's continue it in the next 5.2.0 |
Okay, thanks. I was away for a while that's why unable to work on it. Will fix it asap. |
@pissang @plainheart I have addressed all the comments for changes. Please re-review it. Thank you. |
Co-authored-by: Zhongxiang.Wang <yhen@all-my-life.cn>
Co-authored-by: Zhongxiang.Wang <yhen@all-my-life.cn>
Co-authored-by: Zhongxiang.Wang <yhen@all-my-life.cn>
Co-authored-by: Zhongxiang.Wang <yhen@all-my-life.cn>
Thanks for helping me out :) |
It looks good to me now. If other maintainers have no issue with this, it will be merged. |
Alright, thanks 🎉 |
LGTM. @g7i Thanks for keeping improving your PR and @plainheart thanks for the detailed review. |
Congratulations! Your PR has been merged. Thanks for your contribution! 👍 |
1) tweak the calculation of tooltip offset to make it look not so near to the target element. #14393 2) remove unnecessary `getOuterSize` method beacuse `getSize` is now using `offsetWidth/offsetHeight` that contains the `borderWidth`.
Brief Information
This pull request is in the type of:
What does this PR do?
Tooltip arrow will follow the specified
borderWidth
in tooltip.Fixed issues
fixes: #14373
Are there any API changes?
Related test cases or examples to use the new APIs
Checkout
test/scatter.html
Others
Merging options
Other information