skydoves / FlexibleBottomSheet

🐬 Advanced Compose Multiplatform bottom sheet for segmented sizing, non-modal type, and allows interaction behind the bottom sheet similar to Google Maps.
Apache License 2.0
791 stars 36 forks source link

Keyboard not displayed #16

Open AnthonyPicquet opened 10 months ago

AnthonyPicquet commented 10 months ago

Please complete the following information:

Describe the Bug:

I've added a text field to the content of the bottom flexible sheet. When clicked, the keyboard is not displayed.

is it possible to show the keyboard below the text field in the bottom sheet ?

skydoves commented 10 months ago

Hey @AnthonyPicquet, do you mean this issue happens only with the non-modal option?

For me, it works well with the modal option.

Screenshot 2024-01-20 at 2 09 03 PM

v01dn3ph1l1m commented 7 months ago

+1 keyboard does not open when isModal = false.

when isModal = true keyboard opens but the keyboard and the backdrop behave weird and slide up.

also i get this log

ris() 2024-04-01 01:03:36.026 6579-6579 ImeTracker app.burpy I app.burpy:9d9e067b: onFailed at PHASE_CLIENT_REQUEST_IME_SHOW 2024-04-01 01:03:36.026 6579-6579 InputMethodManager_LC app.burpy I ris() ignored windowToken=android.view.ViewRootImpl$W@fd83bf2 servedView=DecorView@7e07938[MainActivity],focus=false,windowFocus=true,window=android.view.ViewRootImpl$W@53b644c,displayId=0,temporaryDetach=false,hasImeFocus=true mDisplayId=0

v01dn3ph1l1m commented 7 months ago

@skydoves can u look into this. planning to use this library in production

yijia-wang-sap commented 7 months ago

Same here. We wanted to add a text input field into the bottom sheet in non-modal mode but couldn't show the keyboard. We are planning to use this library for production too. Thanks!

Sadulla-Dev commented 4 months ago

has anyone found a solution for isModel = false

DKKovalev commented 3 months ago

Same this bug is preventing us from using this library

carvalho2707 commented 2 months ago

Would be nice to have a fix for this

carlosftorres commented 1 month ago

Hey team, I'm facing the same issue here, now on the version 0.1.5, the iOS side is not working at all, either isModal = true or false, the keyboard is not showing up. I hope @skydoves can help us here with an update, otherwise my best suggestion is move out of this library and use the official Compose ModalBottomSheet. Just as a test I changed my implementation and it's working pretty good. 👋

lewo commented 1 month ago

+1 for this issue on Andriod, Modal works correctly however non-Modal still shows no keybaord.