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

请问在h5 中z-swiper 当我横扫,有一个向下的角度的时候,会触发页面的下拉,这个该怎么解决呢,我看uni-app 中 的swiper 没有这个问题,是不是我少了什么配置 #15

Open
shenhaoguangDayDayUp opened this issue Sep 22, 2023 · 4 comments
Labels
bug Something isn't working H5

Comments

@shenhaoguangDayDayUp
Copy link

可复现问题的链接。或可复现问题的,在示例项目中可运行的代码片段

官网上的例子也有这个问题
https://swiper.zebraui.com/h5/pages/base/index

对此问题或BUG的详细描述

中z-swiper 当我横扫,有一个向下的角度的时候,会触发页面的下拉,这个该怎么解决呢,

你希望的效果是怎样的

不要让他一直跳,而且长按向下或者向上还是能触发页面的滚动

发生问题的版本号

2.2.6

@shenhaoguangDayDayUp shenhaoguangDayDayUp added bug Something isn't working H5 labels Sep 22, 2023
@zebraui
Copy link

zebraui commented Sep 22, 2023

更新2.2.7版本,试下是否依然存在此问题

@shenhaoguangDayDayUp
Copy link
Author

更新2.2.7版本,试下是否依然存在此问题
微信小程序,也有这个问题,更新到最新版本还是一样的,只要有一个向下的角度,就会触发页面的滚动

@shenhaoguangDayDayUp
Copy link
Author

shenhaoguangDayDayUp commented Nov 14, 2023

更新2.2.7版本,试下是否依然存在此问题

我现在的做法是 这样的,但是如果我想在z-swiper给他一个向下的滑动,从而触发页面的向下滚动,这样就不行了,还是没解决问题
image
image

@shenhaoguangDayDayUp
Copy link
Author

更新2.2.7版本,试下是否依然存在此问题

这是demo
demo.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working H5
Projects
None yet
Development

No branches or pull requests

2 participants