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.... |
plainheart
left a comment
There was a problem hiding this comment.
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
borderWidthin tooltip.Fixed issues
fixes: #14373
Are there any API changes?
Related test cases or examples to use the new APIs
Checkout
test/scatter.htmlOthers
Merging options
Other information