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.

Popup shows above keyboard and not on top of it

See original GitHub issue

Informations

  • Version of the library: master branch of today
  • Affected devices: Samsung S9
  • Affected versions: Android 9

Reproduction

Simply run the demo app, click the edit text and click the emoji button and you will see following 3 screens:

  1. Open app

Screenshot_20200904-074330_Emoji

  1. Click into the EditText

Screenshot_20200904-074336_Emoji

  1. Click the emoji button

Screenshot_20200904-074340_Emoji

Additional info

I wanted to write my own keyboard for an Markdown Editor and couldn’t manage to show a popup above the keyboard no matter what I do (playing around with popup.inputMethodMode, popup.softInputMode, popup.windowLayoutType and more but nothing works). Additionally I checked WhatsApp on my device and I can see, that it does not use a PopupView above the keyboard on my device either - it hides/shows the keyboard on my device which has some small flickering side effect… Just as a little background information.

Any ideas why it does not work on my device?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
MFlisarcommented, Sep 5, 2020

Thanks for the idea but the demo does have the adjustResize flag enabled already.

https://github.com/vanniktech/Emoji/blob/6d33b3a68ed9b3102c8d574a7669d44d7da1a57b/app/src/main/AndroidManifest.xml#L16

0reactions
vanniktechcommented, Jun 27, 2021

I’m closing this issue due to inactivity. If you have any further input on the issue, don’t hesitate to reopen this issue or post a new one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to show a PopupWindow above soft keyboard
This answer is not useful. Save this answer. Show activity on this post. Add these two input modes on your PopupWindow : popupWindow....
Read more >
How to Turn Off Key Press Popups on Android and iOS
How to Disable Key Press Popups on iOS · Open the Settings app. · Scroll down and tap on General. · Next, select...
Read more >
how to stop on screen keyboard from popping up
1. Press Windows key + R. · 2. Type control and press enter to open the control panel. · 3. Type ease of...
Read more >
Type with the onscreen keyboard on iPad - Apple Support
Enter text using the onscreen keyboard ; Turn on Caps Lock: Double-tap the Shift key ; Enter numbers, punctuation, or symbols: Tap the...
Read more >
Can not open popup on top of keyboard when dialog is shown.
Stackoverflow suggested adjusting the xy coordinates of the PopupWindow manually to a a negative value in order to lower the position of the ......
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