Sencha touch Textfield hightlight behavior in Samsung Galaxy Tab

别等时光非礼了梦想. 提交于 2020-01-03 05:57:18

问题


While editing any textfield/textareafield in Sencha touch, the text field gets highlighted or focussed. This behavior is causing too many issues. The loading indicator and Alert appears behind the highlighted textfield as the text field remains focussed. This behavior is seen only in Samsung Galaxy Tab. The app behaves fine on iPad. Please let me know if it is possible to remove this highlighting effect.


回答1:


Solution CSS:

input[type="text"], input[type="password"]{
 -webkit-user-modify: read-write-plaintext-only;
 -webkit-user-select:text;
 -moz-user-select:-moz-text;
 -moz-user-select:text;
}


来源:https://stackoverflow.com/questions/17184095/sencha-touch-textfield-hightlight-behavior-in-samsung-galaxy-tab

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!