游标在iOS上转移

时间:2017-10-15 08:16:24

标签: mobile-safari ios11 mobile-chrome

有人能帮帮我吗? 我有一个与移位游标有关的问题。问题仅出现在iOS 11上的chrome和safari中。它看起来像

enter image description here

enter image description here

由于

1 个答案:

答案 0 :(得分:3)

这似乎与wrong caret position for input field inside a fixed position parent on iOS 11演示的WebKit错误Eirik Luka有关。

可能的解决方法:

  • 将对话框拉伸到窗口边缘,使用display: none

  • 将其余内容隐藏在正文中
  • 将容器从position: fixed更改为position: absolute

  • 不要使用模态对话框