tan*_*ial 16 html5 ipad mobile-webkit ios7
看来,满足的属性(在iOS6上运行良好)已停止在iOS7 webkit上运行.虽然浏览器似乎将该字段识别为可编辑,并调出键盘,但任何输入似乎都会关闭它,或者无法注册.任何遇到同样的问题,或有任何解决方法?
你可以在这里试试 - http://html5demos.com/contenteditable
谢谢!
小智 29
我今天遇到了这个问题.我的解决方案是在CSS中为任何可编辑元素设置user-select为" text ":
* {
-webkit-user-select: none;
user-select: none;
}
input,
textarea,
[contenteditable] {
-webkit-user-select: text;
user-select: text;
}
Run Code Online (Sandbox Code Playgroud)
小智 5
我遇到了同样的问题,下面的链接帮助我解决了这个问题。
对我有用的解决方案是将任何可编辑元素的“-webkit-user-modify”属性设置为“读写”(您已定义为 contenteditable)
*{
-webkit-user-modify:read-write;
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
7671 次 |
| 最近记录: |