-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
始终都会阻止冒泡 #913
Labels
enhancement
New feature or request
Comments
问题描述 e.stopPropagation() 写在条件语句中,未执行, 仍然会阻止事件冒泡 ,导致页面无法滚动复现步骤
move(e){
let val = (e.changedTouches[0].clientY-100)
if(val>1){
console.log('stop')
e.stopPropagation()
}
else{
console.log(123)
}
} 期望行为 报错信息 系统信息
|
发现了同样的问题,求解 |
Closed
遇到同样的问题,这个问题解决了吗? |
动态组织冒泡在 Taro 中是不可行的,解决方案请看: |
@yuche 这个解决方案并不是动态阻止冒泡啊?这个需求没办法实现吗? |
这个问题感觉没有解决,只要代码中有stopPropagation,那么事件就都被阻止了 |
遇到了同样的问题,目前还是没有解决方案么。。。 |
没有啊←_←发自我的华为手机-------- 原始邮件 --------发件人: Hibiscus_L <[email protected]>日期: 2020年4月26日周日 晚上8:11收件人: NervJS/taro <[email protected]>抄送: easy liu <[email protected]>, Comment <[email protected]>主 题: Re: [NervJS/taro] 始终都会阻止冒泡 (#913)
遇到了同样的问题,目前还是没有解决方案么。。。
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
始终都会阻止冒泡
复现步骤
期望行为
支持判断再阻止冒泡
报错信息
[这里请贴上你的完整报错截图或文字]
系统信息
The text was updated successfully, but these errors were encountered: