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

Confirm弹窗position:absolute导致 .weui-dialog类选择器中 position:fixed; 失效问题 #2220

Closed
adamcjm opened this issue Nov 20, 2017 · 2 comments

Comments

@adamcjm
Copy link

adamcjm commented Nov 20, 2017

qq 20171120145919

Confirm组件代码更新后,发现样式里边多了:
css .vux-confirm .weui-dialog{ position: absolute; } css
然后导致:
css .weui-dialog { position: fixed; z-index: 5000; width: 80%; max-width: 300px; top: 50%; left: 50%; transform: translate(-50%,-50%); background-color: #fff; text-align: center; border-radius: 3px; overflow: hidden; } css
中的position:fixed;失效,会造成页面滚动一部分后弹窗出现在屏幕外。

@likonion
Copy link

我也碰到这个问题,不知道这个加上是什么用处?

@coolguy001tv
Copy link

这个bug应该继续打开,在2.9.2上依然存在这个问题,我们不得不用!important覆盖了这个样式……

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

4 participants