Software
I use Sencha Touch (2.1.1) and PhoneGap (2.5.0) to develop an application for Android and iOS.
My problem
There are several views with input fields ( Ext.field.Text and Ext.field.Email ) at the bottom of the container. When you press the input field, Android SoftKeyboard pops up and pushes the whole view up, so that the input field is not hidden by the keyboard.
Now, when you hide the keyboard (by clicking the Android hide button or clicking anywhere except the input field), the WebView does not always snap back until you touch WebView again.
Equipment
I am currently facing this problem on Nexus 4 (Android 4.2.2). Everything works fine on iOS (iPhone 4/5) and even on Sony XPERIA Go (Android 4.0.4).
Screenshots
Here are some screenshots of the problem:



I already realized that I can change Android windowSoftInputMode to adjustNothing , but then you will not see the typed text until you hide the keyboard ...
Update
Some comments on Sergio's 3 mitigations.
The first solution seemed to me the best. This only affects the Android project and does not inflate my JS code (e.g. if Ext.os.is.Android ... ) or iOS. Unfortunately, my Nexus 4 still adjusts to focus and does not return to blur if I set windowSoftInputMode as described ...
The second solution sounds more complicated. I will need to move each (lower aligned) component into focus and return to blur if the OS is Android. While this is definitely possible, another problem may arise: the user can hide the keyboard with the back key of the device without removing the input focus (blur does not work). Therefore, I do not think this is a suitable solution.
The third solution is for entering numbers. But writing a virtual keyboard for entering text is not an easy task: the alignment of the keys differs between locales (for example, y and z are transferred to German keyboards), and we will not meet the expectations of users by offering an alternative keyboard (screen input, sentences, ...) .
Do not get me wrong, I am grateful that you shared your mitigations with me! But I'm still not completely satisfied.