Skip to content
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

Update v-switcher.vue #5

Closed
wants to merge 1 commit into from
Closed

Conversation

justin-yzx
Copy link

阻止滑动过程中的事件冒泡,解决当两个v-switcher嵌套使用时会造成手势冲突的问题

阻止滑动过程中的事件冒泡,解决当两个v-switcher嵌套使用时会造成手势冲突的问题
@justin-yzx
Copy link
Author

iOS手机没有问题,安卓的浏览器会出现手势冲突

@falstack
Copy link
Owner

请问什么场景下需要两个v-switcher嵌套使用呢?因为我之前没见过这样的场景

@justin-yzx
Copy link
Author

https://mp.weixin.qq.com/s/i6m-rgb5a2NKc4EeVMtTng 跟这个例子差不多,但是最顶端的轮播图在tab内容里面。就像下面这张图片。
image

@falstack
Copy link
Owner

demo

你可以像上面 demo 的方式来增加这个功能。

因为之前这个地方就是 stop 的,导致 iOS 低版本出了 bug,所以无法在组件内处理

@falstack falstack closed this Aug 15, 2019
@justin-yzx
Copy link
Author

好的,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants