Input Field Hidden When Soft Keyboard Appears in Phonegap

input field hidden when soft keyboard appears in phonegap

Remove this line from config.xml

<preference name="android-windowSoftInputMode" value="adjustResize|stateHidden" />

And change the line in 'head of web page' to

<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />

PhoneGap: Android soft keyboard covers input fields

What you can do in this case (what I did when I had this problem...): add on-focus event on fields, and scroll up document. So you will see input field on the top of page :)



Related Topics



Leave a reply



Submit