This is an automated email from the ASF dual-hosted git repository.

susiwen8 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 fc536d2  Fix: add missing params for 'findEventDispatcher'
     new 3f2f5f3  Merge pull request #13997 from fajiaopaopao/fix-13921
fc536d2 is described below

commit fc536d28e7d0591a0eaf98a811c3d52abd1dc6b8
Author: Bin Wen <[email protected]>
AuthorDate: Sun Jan 10 01:04:38 2021 +0800

    Fix: add missing params for 'findEventDispatcher'
---
 src/component/tooltip/TooltipView.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/component/tooltip/TooltipView.ts 
b/src/component/tooltip/TooltipView.ts
index 5921772..cd52e2b 100644
--- a/src/component/tooltip/TooltipView.ts
+++ b/src/component/tooltip/TooltipView.ts
@@ -429,7 +429,7 @@ class TooltipView extends ComponentView {
             this._showAxisTooltip(dataByCoordSys, e);
         }
         // Always show item tooltip if mouse is on the element with dataIndex
-        else if (el && findEventDispatcher(el, (target) => 
getECData(target).dataIndex != null), true) {
+        else if (el && findEventDispatcher(el, (target) => 
getECData(target).dataIndex != null, true)) {
             this._lastDataByCoordSys = null;
             this._showSeriesItemTooltip(e, el, dispatchAction);
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to