无法复制/粘贴在PhoneGap Ionic IOS [英] Can't copy / paste in PhoneGap Ionic IOS
本文介绍了无法复制/粘贴在PhoneGap Ionic IOS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用PhoneGap在IOS中构建一个应用程序,它几乎完成。
I'm using PhoneGap to build an app in IOS and it is almost done.
我遇到了一个小问题。用户似乎无法在输入字段中复制/浏览他的内容。
I just ran into a small problem. The user doesn't seem to be able to copy / past his content in an input field.
我使用
- Cordova 3.6.3
- Ionic Framework 1.2.8
- IOS 8.1.1
推荐答案
尝试添加此css
input, textarea {
-webkit-user-select: auto !important;
-khtml-user-select: auto !important;
-moz-user-select: auto !important;
-ms-user-select: auto !important;
-o-user-select: auto !important;
user-select: auto !important;
}
我想离线包括一些CSS,以避免复制/不允许您复制其内容
I suppose ionic includes some css to avoid the copy/paste as usually the apps don't allow you to copy their content
这篇关于无法复制/粘贴在PhoneGap Ionic IOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文