894
Views
3
Comments
Solved
Change windowSoftInputMode to "adjustPan" instead of the default "adjustResize" 

HI, 

I am building a mobile app and have floating content at the bottom of almost each page. When I focus on an inputfield at the page, the keyboard comes up and my floating content is on top of the keyboard and I can't see my input anymore. I don't want this content to be on top but to fall behind the keyboard.

I read this can be solved by changing the windowSoftInputMode to "adjustPan" instead of the default "adjustResize" in the manifest.

Does anyone know how to do this?

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP
Solution

Hi Rosanne,

Although I don't know the answer to your question, I'm wondering whether you can't hide the floating content (using CSS) when the screen height is less than a certain amount?

2020-04-08 20-23-43
Rosanne van Tol

Kilian Hekhuis wrote:

Hi Rosanne,

Although I don't know the answer to your question, I'm wondering whether you can't hide the floating content (using CSS) when the screen height is less than a certain amount?

Thanks for the Idea. It works perfectly. 

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

You're most welcome, glad I could be of help.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.