question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Keyboard pushes entire screen up and leaves space

See original GitHub issue

This is what the chat screen looks like: no keyboard

This is what it looks like as soon as the keyboard shows: keyboard

The emoji keyboard shows normally, but because of this weird error, the emoji keyboard and normal keyboard can be above each other.

How can I achieve what I want, which is a normal opened keyboard instead of a keyboard that pushes my entire content up with a lot of empty space showing?

I added the panel like this:

 <br.com.instachat.emojilibrary.model.layout.WhatsAppPanel
            android:id="@+id/bottompanel"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_alignParentBottom="false"/>

If I change the height to 75dp the keyboard behaves perfectly, but of course the emoji keyboard doesn’t show up no more. What can I do?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
erikswedcommented, Nov 19, 2017

Actually for me adding this to the sample apps AndroidManifest - android:windowSoftInputMode="adjustPan" fixes this problem. Thanks for the lib. Update: I Notice on some devices this problem happens and on some not…

0reactions
Bakyt-Itigulovcommented, May 2, 2018

I have just noticed that the demo application contains android:windowSoftInputMode="adjustNothing" for activity tag in Manifest file. After adding this tag all problems had gone.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android: How do I prevent the soft keyboard from pushing ...
When the soft keyboard opens, it pushes the tab for the drawer up, so it sits atop the keyboard. I actually want it...
Read more >
bug: Keyboard pushes the whole screen up #5432
When I try to type something in there on iOS the whole page gets pushed upwards by the keyboard.
Read more >
Avoid UI distortions during keyboard display for a Mobile ...
Whenever the keyboard is visible, the view port height will get reduced because keyboard will take some amount of screen space.
Read more >
Layout Resizes when Keyboard is open
Hello! When I open the keyboard the background image of a column goes up and so is the input textbox. Can someone help...
Read more >
Stop the iOS keyboard hiding your sticky or fixed position ...
If you have a sticky or fixed position header with a textarea or a contenteditable element, the soft keyboard can push it off...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found