-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
grid示例中的Carousel没有swipeLock的设定 , 还有点击时候的按压感觉不应该在不判断方向的时候就触发~ #1974
Comments
It will be better to write your issue/comment in English, so more people can understand you. |
还有 应该加横向锁的 补充: 需要设置content的高度,撑出滚动条再测试~ |
来个 PR? |
@paranoidjk 不会react😂 前三个星期才开始学的vue, 现在在给一个vue的组件库做PR, 也是与swipeLock有关. 其实是antd-mobile 来拜师的~ 顺便看看有没有自己遇过的bug, 结果发现有~😂 |
|
能否在 _util 写代码 来解决这个问题。还是不要换回来好。 |
Version
2.0.0
Environment
win10 1703 chrome 62 stable
Reproduction link
https://mobile.ant.design/kitchen-sink/components/grid?lang=zh-CN
Steps to reproduce
看gif~
What is expected?
左右滑动操作Carousel的时候不会触发scroll , 上下scroll的时候不会触发Carousel
同时就是是否触发按压效果需要判断是否是滑动的~
这个行为可以参考
:active
属性, 浏览器的原生也是都这一层判断, 不过在移动端dom
有寻址和click
不同的问题, 希望实现的时候可以避免~What is actually happening?
都触发了
The text was updated successfully, but these errors were encountered: