We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在竖向滑动bs里嵌套横向滑动bs的情况下。由于在两个bs里都有内容需要点击,根据文档里的说明,为了避免横向bs内容点击发出两次click事件,我必须在横向bs里设置stopPropagation:true。这样会吧所有事件都阻止冒泡,导致手指在横向bs区域内上下滑的话无法触发竖向bs的滑动。但如果不设置stopPropagation:true,虽然可以解决横向bs区域内的竖向滑动响应问题,点击横向bs内的元素又会触发2次click
提供click专用的stopPropagation设置,比如stopClickPropagation,用来单独组织click事件的冒泡
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What problem does this feature solve?
在竖向滑动bs里嵌套横向滑动bs的情况下。由于在两个bs里都有内容需要点击,根据文档里的说明,为了避免横向bs内容点击发出两次click事件,我必须在横向bs里设置stopPropagation:true。这样会吧所有事件都阻止冒泡,导致手指在横向bs区域内上下滑的话无法触发竖向bs的滑动。但如果不设置stopPropagation:true,虽然可以解决横向bs区域内的竖向滑动响应问题,点击横向bs内的元素又会触发2次click
What does the proposed API look like?
提供click专用的stopPropagation设置,比如stopClickPropagation,用来单独组织click事件的冒泡
The text was updated successfully, but these errors were encountered: