真机调试时touchstart touchmove touchend事件无响应?

发布于 9 年前作者 chengyan7780 次浏览最后编辑 9 年前来自 ask

真机调试(iPhone XR)时,<view>组件的 touchstart touchmove touchend事件无响应,但是在微信开发者工具(nightly v1.02.1912062)中的模拟器上是可以触发响应的。

<view class=“echart_panel” bindtouchstart=“touchStart” bindtouchmove=“touchMove” bindtouchend=“touchEnd”>

        <ec-canvas  id=“mychart” canvas-id=“mychart-bar”  ec=“{{ ec }}”></ec-canvas>

        <view class=“bottombtn”>

                <button type=“primary” bindtap=“previous”>往前</button>

                <button type=“primary” bindtap=“next”>往后</button>

        </view>

</view>

1 回复
vcai
vcai1 楼6 年前

麻烦提供能复现问题的代码片段https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html