This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
The following commit(s) were added to refs/heads/master by this push: new 4b348fb fix(tooltip): rich content confine bug ecomfe/echarts-for-weixin#347 4b348fb is described below commit 4b348fb7b4b8c5c08868e6ed64b965562d6330d9 Author: Ovilia <zwl.s...@gmail.com> AuthorDate: Wed Oct 17 14:07:39 2018 +0800 fix(tooltip): rich content confine bug ecomfe/echarts-for-weixin#347 --- src/component/tooltip/TooltipRichContent.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/component/tooltip/TooltipRichContent.js b/src/component/tooltip/TooltipRichContent.js index ab7c173..7201279 100644 --- a/src/component/tooltip/TooltipRichContent.js +++ b/src/component/tooltip/TooltipRichContent.js @@ -180,7 +180,11 @@ TooltipRichContent.prototype = { }, getOuterSize: function () { - return this.getSize(); + const size = this.getSize(); + return { + width: size[0], + height: size[1] + }; } }; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org