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

为什么XDialog有prop scroll 然而confirm组件缺没有 #1858

Closed
xwg2015 opened this issue Aug 18, 2017 · 2 comments
Closed

为什么XDialog有prop scroll 然而confirm组件缺没有 #1858

xwg2015 opened this issue Aug 18, 2017 · 2 comments

Comments

@xwg2015
Copy link

xwg2015 commented Aug 18, 2017

比较好奇 同样都是弹出来的弹框 comfirm组件触发时 body如何禁止滑动呢?

查找了一下貌似是移动端滑动穿透问题

@wg5945
Copy link
Collaborator

wg5945 commented Aug 22, 2017

可以自行查看源码的哦

XDialog我记得好像是阻止了touchmove事件

@airyland
Copy link
Owner

airyland commented Sep 7, 2017

原来的 scroll 并没有实现阻止滑动,设置该属性后是弹窗也无法滚动了。从下个版本开始使用全局配置 $layout 来为 100% 布局实现。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants