本文介绍了Sencha触摸三星Galaxy Tab中的Textfield高亮行为的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Sencha touch中编辑任何文本字段/textarea字段时,文本字段会突出显示或聚焦.此行为导致太多问题.当文本字段保持焦点时,加载指示符和警报将出现在突出显示的文本字段的后面.仅在Samsung Galaxy Tab中可以看到此行为.该应用在iPad上运行良好.请让我知道是否可以删除此突出显示效果.

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.

推荐答案

解决方案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;
}

这篇关于Sencha触摸三星Galaxy Tab中的Textfield高亮行为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-19 00:15