Skip to content

Ios系统hippy-vue中div组件的touchend事件在触摸移动后抬起时触发无效 #4424

@superDior

Description

@superDior

期望结果

长按该元素后正常执行touchstart事件,无论手指移动到何处,抬起手指时应正常执行touchend事件,如安卓设备。

实际结果

当长按该元素,触发touchstart事件后,将触摸点进行任意移动后再抬起,此时ios表现为touchend事件并未执行,安卓正常执行。

重现链接

No response

重现步骤

组件代码:
<div @touchstart="showHighTitle = true" @touchend="showHighTitle = false" @touchcancel="showHighTitle = false" @click="() => goto()" > </div>
长按该div元素,触发touchstart事件后,将触摸点进行任意移动后再抬起,此时ios表现为touchend事件并未执行,安卓正常执行。

重现环境

hippy/vue-next版本:2.17.3
vue版本: 3.4.38

补充说明

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions