Aghajari / AXEmojiView

an advanced library which adds emoji,sticker,... support to your Android application.
Apache License 2.0
179 stars 45 forks source link

Not working on Chromebook #20

Closed Janneman84 closed 2 years ago

Janneman84 commented 2 years ago

I'd like to run my app on Chromebooks. I tried your demo project and when I press the smiley nothing happens. It probably has to do with Chromebooks having a hardware keyboard, so there is no soft keyboard, hence no place for the emojis to go to.

I just connected my Bluetooth keyboard from my old iMac to my phone. The emojis don't show here either, so hardware keyboards is definitely the problem.

Aghajari commented 2 years ago

Hi, Use AXEmojiPopupLayout and call updateKeyboardStateOpened(KeyboardHeight) this will ignore hardware keyboard height

Janneman84 commented 2 years ago

Thank you that seems to work well. I have a few more questions but I'll post a new issue later when I have time.