We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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组件代码更新后,发现样式里边多了: 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;失效,会造成页面滚动一部分后弹窗出现在屏幕外。
.vux-confirm .weui-dialog{ position: absolute; } 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
The text was updated successfully, but these errors were encountered:
我也碰到这个问题,不知道这个加上是什么用处?
Sorry, something went wrong.
x-dialog: fix position:absolute issue #2220
be2f3c6
这个bug应该继续打开,在2.9.2上依然存在这个问题,我们不得不用!important覆盖了这个样式……
No branches or pull requests
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;失效,会造成页面滚动一部分后弹窗出现在屏幕外。
The text was updated successfully, but these errors were encountered: