echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] Echarts can't accurately(maybe naturally) handle MAC touchpad gestures.

Open jianqi-jin opened this issue 2 years ago • 3 comments

Version

5.3.3

Link to Minimal Reproduction

No response

Steps to Reproduce

1、Set dataZoom like this:

  {
    type: 'slider',
    show: true,
    xAxisIndex: [0],
    start: 1,
    end: 35
  },
  {
    type: 'slider',
    show: true,
    yAxisIndex: [0],
    left: '93%',
    start: 29,
    end: 36
  },
  {
    type: 'inside',
    xAxisIndex: [0],
    start: 1,
    end: 35
  },
  {
    type: 'inside',
    yAxisIndex: [0],
    start: 29,
    end: 36
  }
image

Current Behavior

When I use MAC touchpad to scale and move it, I just can't move it all direction. It just treat the gesture as scaling instead moving.

Expected Behavior

I want to move the chart through the gesture all direction(up、down、left and right). And when I separate my fingers, I want to scale it. Just like Chrome DevTools's timeline in performance panel.

image

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

jianqi-jin avatar Jun 28 '22 06:06 jianqi-jin