-
Notifications
You must be signed in to change notification settings - Fork 92
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
作者你好,请教一个技术问题 #26
Comments
@whatsbug 我觉得首先原理是如果手势触发点在轮播图中, 就让我们自己的pan gesture失败, |
获取轮播图的位置信息有点棘手😂 |
@whatsbug 哪个iOS版本的浏览器实现了你所要的功能呢?我看一下,因为本身轮播图就有很多种实现,CSS,JavaScript都可以实现。本质上讲,就是普通的HTML标签. |
iOS版的夸克是可以的。。 |
其他什么问题我倒是没有发现,发现唯一一点体验不好的是,它的全屏返回/前进手势必须要网页停止上下滚动时才会触发😂,应该是shouldRecognizeSimultaneouslyWithGestureRecognizer代理方法没返回YES.. |
@whatsbug 是的。所以实现方法我目前觉得只有一个,就是js判断touch位置进行回传,应该没有别的方法了,因为轮播图也只是普通的 |
嗯嗯,感谢提供思路笔芯 |
如果我想全屏(而非屏幕边缘)切换tab页,我该如何解决原生的全屏滑动手势和网页轮播图滚动之间的冲突?我期望达到的效果是像其他浏览器一样,手指在网页轮播图滚动时,原生滑动手势不响应,反之响应。
The text was updated successfully, but these errors were encountered: