Last modified: 2012-07-26 23:11:41 UTC
This is a very funky bug, unsure whether it's in Android or in PhoneGap/Cordova. On Android 4.0 (ICS) I can't type '9' or '(' into any input boxes in the app. This is a problem if, say, your username or password includes these digits. Can reproduce both on my Galaxy Nexus and in the SDK emulator. Doesn't happen on Gingerbread or on Jelly Bean, it's just Ice Cream Sandwich... This problem goes away if we remove this CSS: input { /* see: http://stackoverflow.com/questions/9005550/input-elements-on-android-4-x-can-not-be-styled-when-focused */ -webkit-user-modify: read-write-plaintext-only; } Tested with both stock Cordova 1.8.1 and my patched Cordova 1.9.0 currently in upload-progress branch. [Note that 1.9.0 stock has a bigger problem where you can't type at all, but that's been fixed in git.]
Can't repro in Browser, but can in a standalone Cordova app. So it's probably something in Cordova somewhere....
Can't repro it in a standalone Android app with a webview, so.... hopefully this is something I can track down in Cordova. :)
*** Bug 38415 has been marked as a duplicate of this bug. ***
Fixed by some kind of magic. Unicorns suspected to be involved.