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
最近在调试一个非常诡异的 bug ,在 PC 和安卓下都是正常的,但是发现在 iOS 却出现问题。代码如下:
<div class="wrapper"> <iframe src="https://www.cnblogs.com/DSC1991/p/8665891.html"></iframe> </div>
.wrapper{ width: 100%; height: 200px; } .wrapper iframe{ }
发现iframe竟然不受父容器的高度限制,撑开了父容器,导致滑动UI显示异常。
在父容器应用下面CSS便显示正常:
-webkit-overflow-scrolling: touch; overflow-y: scroll;
The text was updated successfully, but these errors were encountered:
shiiiiiiji
No branches or pull requests
最近在调试一个非常诡异的 bug ,在 PC 和安卓下都是正常的,但是发现在 iOS 却出现问题。代码如下:
发现iframe竟然不受父容器的高度限制,撑开了父容器,导致滑动UI显示异常。
在父容器应用下面CSS便显示正常:
参考
The text was updated successfully, but these errors were encountered: