S
S
sweezy2016-10-13 08:36:51
JavaScript
sweezy, 2016-10-13 08:36:51

Why does the keyboard on android overlap content, but not on ios?

I ran into a problem and I can't solve it.
there is a form with position:fixed. When you click on a form field, on android the keyboard overlaps it, but on ios it shifts up along with the content. Is there a solution for android?

android
58cf709e0c7b4ca49a90f0d41d29af9e.PNG

ios
4c6a2332f33444bd84f809e7184018bb.jpg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Semenov, 2016-10-13
@semenovstyle

What iOS version? Position:fixed works from version IOS 9.3
If the version is younger, then most likely the property simply does not work.
The problem can be solved by a media expression, replacing it with an absolute one, for example.

V
Vladimir, 2016-10-14
@naivekook

You need to set the correct behavior for your Activity in the manifest, in your case adjustResize
https://developer.android.com/guide/topics/manifes...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question