apache / apache/echarts

[Bug] dispatchAction({ type: "hideTip" }) not work

Open
#21,210 1 comment 0 reactions 0 assignees View on GitHub
bug en pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

5.3.2

### Link to Minimal Reproduction

https://codepen.io/wangxiaojing96/pen/zxvWwgK

### Steps to Reproduce

1.​​Delay the appearance of the tooltip on mouse hover.​​
2.​​Mouse enters the tooltip.​​
3.​​Mouse exits the tooltip – the console logs "我被触发啦" but the tooltip does not close immediately.​

### Current Behavior

can't hide tooltip

### Expected Behavior

When the mouse leaves the tooltip, dispatchAction({ type: "hideTip" })immediately closes the tooltip, no longer being affected by hideDelayto avoid delayed closure.

### Environment

```markdown
- OS:
- Browser:
- Framework:
```

### Any additional comments?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.