-
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
Popup组件内定义的元素设置overflow-x: auto;后无法滑动 #6288
Comments
是红色的区域吗?我手机打开好像是可以滚动的~ 或者样式加个 |
@1587315093 加了也不行,很奇怪,我用手机也是可以正常滑动,但是在 webview 里面的就不行,很正常的样式,我现在已经用 swiper 组件解决了这个奇怪的问题 |
swiper 能用 是不是touch事件问题呀 @miracles1919 大哥知道吗 |
看起来像是 webview 禁用了滚动,试试不用组件,单独用滚动元素 |
我也是遇到了这种情况 使用overflow-x: auto 在ios真机无法滑动, -webkit-overflow-scrolling: touch; |
我也出现了这个问题,在钉钉里面打开滚动不了,有没有什么解决方案 |
iOS 内横向好像依然无法滑动 |
真机测试ios和安卓都没法横向滑 |
可以试试把页面高度设置成 100vh,overflow scroll。 |
如何解决这个问题? |
Version of antd-mobile
antd-mobile 5.32.0
Operating system and its version
iOS
Browser and its version
chrome 115.x
Sandbox to reproduce
https://codesandbox.io/s/weathered-cloud-8gmgdj
What happened?
问题:Popup组件内定义的元素设置overflow-x: auto;后无法滑动,鼠标滑动可以,手势无法滑动
期望:手势能正常滑动
Relevant log output
No response
The text was updated successfully, but these errors were encountered: