D
D
display: block2016-04-20 16:13:02
JavaScript
display: block, 2016-04-20 16:13:02

How to avoid overlapping form fields with the android keyboard?

On the mobile version of the site, when you click on the registration icon, the main menu leaves on the left, at the bottom of which there is a login form. Clicking on this icon also triggers focus on the first field of the form.

af1d88fc25f14c9dae7b7543e99cef63.png

But the keyboard is placed on top of the inputs until at least one character is entered

0b83bcf2fb234f4dbbd89bf6d0d8eafd.png

. How to avoid overlapping form fields?
Tested on android 5 with two keyboards and on ios.
In ios it is displayed normally.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kanesy, 2016-04-20
@qork

For activity in the manifest, set the flag android:windowSoftInputMode="adjustResize"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question