View Full Version : [NOREPRO] Soft keyboard keeps coming up on Android Jelly Bean

18 Jul 2012, 6:43 AM
Sencha Touch version tested:

Platform tested against:

Android 4.1 (Jelly Bean)

Whenever any part of the app is tapped on, the android soft keyboard comes up.
Steps to reproduce the problem:

Load the app
Tap on any area of the app
Debugging already done:

Just loaded a simple HTML page without sencha in Phonegap, and the bug didn't occur

18 Jul 2012, 7:26 AM
I launched the KitchenSink on my Nexus 7 (Chrome, 4.1.1) for the 1.1.1 release and the keyboard doesn't come up when I tap. In fact I can tap on the nested list and get to the examples and things are working as expected.

18 Jul 2012, 7:35 AM
Wanted to clarify that our app runs inside phonegap/cordova. So the issue might be isolated to that webview.

18 Jul 2012, 12:28 PM
We were actually able to narrow it down to a CSS property we used. The property is "-webkit-user-modify: read-write-plaintext-only;". Once we took that out, the problem went away.

We had to use it in android versions prior to Jelly Bean in order to fix the problem where a white box was drawn over input fields. But it turns out that in Jelly Bean, that's fixed, and the above property causes the soft keyboard to pop up every time you tap somewhere.