问题
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