-
Notifications
You must be signed in to change notification settings - Fork 594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bottom Sheet is dismissed when keyboard is open with adjustResize #153
Comments
Same here, any idea how to solve this? |
Sample code would help a lot |
I have the same issue, It can be easily reproduced.
|
Any solution to this. |
Ok it's very simple, when Keyboard Shows, due to bottomSheetBehavior, the bottom sheet itself becomes invisible. so in your hideKeyboard() methods (that you call whenever you want : ex in edittext focusChange), just put these lines at the end, so the bottom Sheet shines again !
enjoy :) |
I have an
EditText
in a bottom sheet and want to write text in it with the keyboard usingwindowSoftInputMode
set toadjustResize
.When the EditText gain focus, keyboard open but the bottom sheet is dismissed.
With
windowSoftInputMode
set toadjustPan
, the bottom sheet stay visible.The text was updated successfully, but these errors were encountered: