You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "lahvey (via GitHub)" <gi...@apache.org> on 2024/12/14 01:32:01 UTC
[I] [Bug] tooltip does not hide after mouseup on mobile device [echarts]
lahvey opened a new issue, #20589:
URL: https://github.com/apache/echarts/issues/20589
### Version
5.2.2
### Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html?c=line-simple
### Steps to Reproduce
Set the following option, change browser to mobile mode (or test on mobile phone), move your mouse or finger on the chart and then release.
```js
option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
tooltip: {
show: true,
hideDelay: 30,
trigger: 'axis',
},
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line'
}
]
};
```
### Current Behavior
After mouseup, the tooltip is still there, even clicking the area outside the chart. Though it works on PC.
### Expected Behavior
hide the tooltip after mouseup/finger move, or **hideDelay** should work here
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org