Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Attachment actions
Unintended behavior
View staffing
Description
Jetpack Compose version: Compose Bom 2024.10.00
Material Library Version (M2, M3 or Both?): M3
Material Compose component used: ModalBottomSheet
Android Studio Build: Android Studio Ladybug 2024.2.1 Patch 1
Kotlin version: 2.0.20
Steps to Reproduce or Code Sample to Reproduce:
I’m using a BottomSheet, but I’m experiencing some unnatural behavior with Focus and the keyboard.
When I dismiss the BottomSheet while the keyboard is visible, the BottomSheet goes down, and the keyboard briefly remains visible before disappearing, causing the BottomSheet to show momentarily.
Additionally, when I dismiss it using hide(), the keyboard’s dismissal appears unnatural. How can I address these issues?
It seems that BottomSheetDialogFragment has smoother FadeIn and FadeOut transitions, and the focus handling is more natural.