Question

In my cordova-powered app I disabled the zoom. Though on a page with an input field, if the soft-keyboard shows-up, the view gets automatically zoomed to include the whole page:

Start state

with soft-keyboard

when the soft-keyboard disappears, the page remains zoomed.

How to get rid of this zooming? I took a look at softkeyboard plugin but it didn't give me any hints...

Was it helpful?

Solution

found an answer myself. I had to add the windowSoftInputMode attribute to make it work:

    <activity
        android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale"
        ....
        android:windowSoftInputMode="adjustNothing" >
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top