微信网页图表加入平移缩放(pan/pinch)后,此时如果按住图表则没法上下滑动整个页面
- Dominant language
- JavaScript
- Stars
- 8k
- Forks
- 637
- PR merge metrics
- No merged PRs in 30d
Description
### 图标加入平移缩放(pan/pinch)后,此时如果按住图表则没法上下滑动整个页面

测试了好几个同事的手机都是这样。
加入平移缩放相应的代码:
```javascript
chart.interaction('pan')
chart.interaction('pinch', {
minScale: 1,
maxScale: 20
})
```
这个问题似乎是个历史遗留问题?我在开发的时候就是,最近两个月被调去做别的项目,今天经理又问了我这个问题,上网查了下,并没有找到解决的办法。
想问下开发者大大们有没有在之后的版本处理掉这个问题。我使用的是`vux`这个ui组件库,它里面的`f2`版本是`3.7.1`。
The issue which is not created via https://antv-issue-helper.surge.sh will be closed immediately.
---
注意:不是用 https://antv-issue-helper.surge.sh 创建的 issue 会被立即关闭。
Contributor guide
Research direction
Reproduce the issue in WeChat using Vux's F2 3.7.1 with the reported chart.interaction('pan') and chart.interaction('pinch') configuration. Compare page scrolling while touching the chart on affected phones; done means pan and pinch still work while a touch that is not a chart gesture can scroll the page normally.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100