Android 2.3 browser is buggy when it comes to CSS3 properties. Recently I got this
weird bug when we type something in a textarea component. The page jumps around with
each character typed.
We can fix this by not using any CSS3 3D properties like -webkit-transform: translate3d(0, 0, 0);
.
Also, in the AndroidManifest.xml
file add windowSoftInputMode="adjustPan"
in the activity
tag.
Modified activity
tag will look like below.
<activity
android:name=".ProjectNameActivity"
android:configChanges="orientation|keyboardHidden"
android:windowSoftInputMode="adjustPan"
android:label="@string/app_name">