键盘打开时,如何防止Safari URL地址栏在iOS 13上重叠移动浏览器的底部?

发布于 2025-01-31 02:13:17 字数 451 浏览 3 评论 0原文

我了解这是一个非常具体的问题,但我会尽我所能。

我们有一个聊天应用程序,该应用程序在移动设备上的Web浏览器上打开时占用了整个视口。

在大多数情况下,它可以按预期工作。

但是我们有一个朋友在他的iPhone 13上与Safari一起对其进行了测试,我们注意到键盘打开时,URL地址栏重叠了文本输入字段。

我不确定会导致这一点的原因,我们不知道是否有一种方法可以通过代码进行缓解,或者只是在Safari中的一个奇数设置,尤其是在iOS 13上。

是否有任何信息关于如何解决此问题的URL栏重叠?

I understand this is a highly specific question, but I will try and ask it as best I can.

We have a chat application that takes up the entire viewport when open on web browsers on mobile devices.

In most cases it works as expected.

But we had a friend who tested it on his iPhone 13 with Safari and we noticed that the URL Address bar was overlapping the text input field when the keyboard was open.

enter image description here

I am unsure what might be causing this, and we do not know if there is a way to mitigate this through code or if it just an odd setting in Safari particularly on iOS 13.

Is there any information on how to solve for this issue of the url bar overlapping?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文