收藏
回答

canvas小米mix4无法触发bindtouchstart事件,其他手机都能正常触发?

组件:canvas

微信版本:8.0.31

基础库:2.29.1

<view class="autograph-container" style="width: {{ width }}; height: {{ height }}; display: block;">
  <canvas class="autograph-canvas" type="2d" disable-scroll style="width: 100%; height: 100%; display: block;" bindtouchstart="handleTouchStart" bindtouchmove="handleTouchMove" bindtouchend="handleTouchEnd" bindtouchcancel="handleTouchEnd" binderror="handleTouchEnd"></canvas>
</view>
回答关注问题邀请回答
收藏

2 个回答

登录 后发表内容