phonegap android edittext is hidden behind virtual keyboard

1k Views Asked by At

I am developing an android phonegap app. i created a popup using HTML, which contains two edit fields for "username" and "password". when these fields receives focus, the soft keyboard appears and hides immediately. Can anybody say why it behaves like this. Thanks in advance

2

There are 2 best solutions below

0
On

Try to add android:windowSoftInputMode="adjustResize" on your Android manifest file.That worked for me.

It's a late answer but will be helpful for someone else.

0
On

it must be losing focus right after too for some other reason I would suspect.