黑讯科技
黑讯科技
  • 发布:2021-11-06 13:34
  • 更新:2021-11-08 16:03
  • 阅读:562

【报Bug】nvue监听页面touchend,当手指没有滑动的时候,会触发touchend,当手指有滑动的时候,无法触发touchend,而且touchmove也只触发很短的距离;

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: win10

HBuilderX类型: Alpha

HBuilderX版本号: 3.2.12

手机系统: Android

手机系统版本号: Android 10

手机厂商: 华为

手机机型: 荣耀V10

页面类型: nvue

打包方式: 云端

项目创建方式: HBuilderX

示例代码:

<scroll-view scroll-y style="height: 600px;">
<view class="text-area"
@touchstart="coverTouchstart"
@touchmove="coverTouchmove"
@touchend="coverTouchend"

<view v-for="i in 100" :key="i" class="a">本页是nvue页面</view>
<text class="title">{{title}}</text>
</view>
</scroll-view>

操作步骤:

1.手指点触(无滑动),可以触发touchend
2.手机触摸并滑动,无法触发touchend,且touchmove仅生效很小一段距离(约6px)
IOS正常

预期结果:

应当连续触发touchmove且触发touchend

实际结果:

1.手指点触(无滑动),可以触发touchend
2.手机触摸并滑动,无法触发touchend,且touchmove仅生效很小一段距离(约6px)
IOS正常

bug描述:

nvue监听页面touchend,当手指没有滑动的时候,会触发touchend,当手指有滑动的时候,无法触发touchend,而且touchmove也只触发很短的距离;

2021-11-06 13:34 负责人:无 分享
已邀请:
DCloud_UNI_Anne

DCloud_UNI_Anne

该问题目前已经被锁定, 无法添加新回复