Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] tooltip does not hide after mouseup on mobile device #20589

Open
lahvey opened this issue Dec 14, 2024 · 0 comments
Open

[Bug] tooltip does not hide after mouseup on mobile device #20589

lahvey opened this issue Dec 14, 2024 · 0 comments
Labels

Comments

@lahvey
Copy link

lahvey commented Dec 14, 2024

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.

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

- OS:
- Browser:
- Framework:

Any additional comments?

No response

@lahvey lahvey added the bug label Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant