光标移动到 iOS
Cursors are shifted on iOS
有人能帮帮我吗?
我有一个与移动光标相关的问题。问题仅出现在 chrome 和 iOS 11 上的 safari。它看起来像
谢谢
这似乎与 WebKit 错误有关 wrong caret position for input field inside a fixed position parent on iOS 11 demonstrated by Eirik Luka。
可能的解决方法:
将对话框拉伸到 window 的边缘,用 display: none
隐藏正文中的其余内容
将容器从 position: fixed
更改为 position: absolute
不使用模态对话框
有人能帮帮我吗? 我有一个与移动光标相关的问题。问题仅出现在 chrome 和 iOS 11 上的 safari。它看起来像
谢谢
这似乎与 WebKit 错误有关 wrong caret position for input field inside a fixed position parent on iOS 11 demonstrated by Eirik Luka。
可能的解决方法:
将对话框拉伸到 window 的边缘,用
display: none
隐藏正文中的其余内容
将容器从
position: fixed
更改为position: absolute
不使用模态对话框