需要修复
标题和文本区域应始终与whats-app中的相同
将标题部分设置为固定位置,并将相同的文本区域设置为固定,甚至键盘是否打开
防止头顶移位意味着防止iPhone滚动
注意:它在Android手机中运行良好.只有iPhone浏览器问题,可能是由于iPhone滚动.
解决方法 这是一个简单的概念示例:<article > <h3>Title</h3> <div > <p>Some scrollable content ...</p> </div> <div> Some CTA buttons that should be visible for the user </div></section>
CSS:
.pop-up { position: fixed; // some other styles to display it as a popup}.content {position: relative; max-height: 100px; // set any max height that fits your designoverflow-y: scroll;}总结
以上是内存溢出为你收集整理的ios – iPhoned出窗口问题滚动问题全部内容,希望文章能够帮你解决ios – iPhoned出窗口问题滚动问题所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)