Tprogramer
Tprogramer

Reputation: 85

Error activating keyboard in ionic view 3

I have the following problem, my apk, made in ionic 3, when it is already compiled, the main screen is displayed like this.

enter image description here

Everything is fine, but when I activate the taclado to write.

enter image description here

And I go back to the main screen this happens

enter image description here

As you may notice, the screen is cut off, as it is lost. I have no idea why this happens, anything helps me, Thanks for the attention.

Upvotes: 0

Views: 35

Answers (1)

Sandy.....
Sandy.....

Reputation: 2870

Open the manifest.xml from the platform/android folder and in the main activity tag replace the android:windowSoftInputMode="adjustResize" attribute with android:windowSoftInputMode="adjustPan"
also try adding below in config.xml
<preference name="KeyboardDisplayRequiresUserAction" value="false" />

Upvotes: 1

Related Questions