apache / apache/echarts

[Feature] 移动端网页将dataZoomSelectActive设为true,手指上下滑动与区域缩放冲突

Open
#20,590 1 comment 0 reactions 0 assignees View on GitHub
new-feature pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### What problem does this feature solve?

当使用
myChart.dispatchAction({
type: "takeGlobalCursor",
key: "dataZoomSelect",
dataZoomSelectActive: true,
});移动端主动打开区域缩放功能后,手指在图表区域上下滑动均会触发缩放,
尝试过preventDefaultMouseMove: false等均无效

### What does the proposed API look like?

能否根据手指滑动的方向来触发缩放

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.