收藏
回答

安卓机touchmove事件中touches里面的clientX和client始终为0?

<view
  class="deomo"
  bindtouchstart="onTouchStart"
  bindtouchmove="onTouchMove"
  bindtouchcancel="onTouchEnd"
  bindtouchend="onTouchEnd"
>
</view>

问题机型:华为p30、p60

系统版本:HARmonyOS 4.0.0、4.2.0

微信版本:8.0.63

touchstart 和 touchmove事件的touches里clientX和clientY始终都是0,不管怎么拖动,ios机型正常

回答关注问题邀请回答
收藏

2 个回答

  • 社区技术运营专员-Jahozheng
    社区技术运营专员-Jahozheng
    10-27

    你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)

    10-27
    有用
    回复
  • 智能回答 智能回答 本次回答由AI生成
    10-23
    有用
登录 后发表内容