-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Taro3 没法阻止onTouchMove事件冒泡 #7234
Comments
这是个已知问题issues |
遇到相同的问题,函数组件中无法成功stopPropagation! |
希望尽快解决,加油! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
复现仓库
https://github.com/wforguo/taro-issue
小程序基础库: 2.12.0
使用框架: React
复现步骤
代码
实际并没有效果,没有阻止冒泡
打印事件对象属性,如下:
stopPropagation
方法stopPropagation
方法之前使用Taro2可以正常
stopPropagation
,Taro是不是不支持,希望解决期望结果
使用
touchStart
在事件接受中可以阻止事件的冒泡,也就是事件属性中包含stopPropagation
方法实际结果
没有阻止事件冒泡,没有
stopPropagation
方法环境信息
补充信息
真机和模拟器都不行,微信小程序环境
在这里我需要使用,上拉加载更多,列表容器是没有设置高度的
The text was updated successfully, but these errors were encountered: