[v4] Request: smoother keyboard transition when the bottom sheet is dismissed programmatically
See original GitHub issueFeature Request
Currently, when the bottom sheet is dismissed via the dismiss
method while the keyboard is open, the sheet first slides all the way under the keyboard, and the keyboard then stays on screen for about a second before disappearing.
This feels like a performance issue from the UX perspective, and it would be great if the keyboard started sliding down along with the bottom sheet at the same time, thus eliminating the delay.
Demo of the current behavior:
Why it is needed
Possible implementation
Code sample
Issue Analytics
- State:
- Created 2 years ago
- Reactions:6
- Comments:33 (1 by maintainers)
Top Results From Across the Web
How can I dim the background when Bottomsheet is displayed ...
Using BottomSheetDialogFragment causes some janky animation. When showing the keyboard the DialogFragment just "snapps" to it's new position. BottomSheet ...
Read more >Android Bottom Sheet Behavior and Animated Button on Top ...
Bottom Sheets are surface components that hold supplementary content. It mostly anchored the bottom of the screen. In simple words, you can ...
Read more >How To Present a Bottom Sheet View Controller in iOS
A bottom sheet modal view controller is a feature that has a great UI/UX design. It is very useful when we want to...
Read more >Control and animate the software keyboard
// Record the position of the view after the IME transition. endBottom = view.bottom.toFloat()
Read more >Hide Keyboard - SwiftUI Handbook - Design+Code
Use a View extension to dismiss the keyboard when the user taps outside of the keyboard area.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mattgabor why are you using patch-package for this?
What if you don’t use a ScrollView? I get this issue even when I just have a vanilla View inside of the BottomSheetModal.