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

modal滚动穿透 #163

Closed
warmhug opened this issue Aug 26, 2016 · 7 comments
Closed

modal滚动穿透 #163

warmhug opened this issue Aug 26, 2016 · 7 comments

Comments

@warmhug
Copy link
Contributor

warmhug commented Aug 26, 2016

  • antd-mobile 版本:0.7.8
  • 操作系统及其版本:ios 手淘/支付宝容器
  • 浏览器及其版本:手淘5.10.3

modal滚动穿透,仅在容器会这样,浏览器不会

@silentcloud
Copy link
Contributor

silentcloud commented Aug 31, 2016

@warmhug 帮忙瞅瞅,我大概看了哈没找到问题原因
@yiminghe 也瞧瞧,rc-dialog 的问题

@yiminghe
Copy link
Contributor

@warmhug 看下 https://github.com/react-component/dialog/blob/master/src/Dialog.jsx#L337 这个是不是容器有啥兼容问题

@silentcloud
Copy link
Contributor

手机 safari 浏览器也是的,不只是容器问题,但是没发现什么问题,理应当 overlow:hidden 就 ok 了的

@yiminghe
Copy link
Contributor

framework7 同样问题,搜了下没什么好的方案

@xyqfer
Copy link

xyqfer commented Sep 2, 2016

modal 上的 touchmove preventDefault 掉试试。。。

@lyboy2012
Copy link

发现webview onTouchStart onTouchMove 阻止事件,页面还是会滚动,这有解吗,浏览器里没问题

@aiqin-bao
Copy link

这个问题 有没有方案去解决那 ????

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

No branches or pull requests

6 participants