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
687 stars 30 forks source link

Keyboard not displayed #16

Open AnthonyPicquet opened 5 months ago

AnthonyPicquet commented 5 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 5 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 3 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 3 months ago

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

yijia-wang-sap commented 3 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!