Skip to content

Commit 7ccf670

Browse files
dsn5ftleticiarossi
authored andcommitted
[MaterialDatePicker] Fix crash when clicking OK/Cancel on text input mode due to hiding keyboard
PiperOrigin-RevId: 529835294
1 parent 26c3779 commit 7ccf670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/java/com/google/android/material/datepicker/DateSelector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ static void showKeyboardWithAutoHideBehavior(@NonNull EditText... editTexts) {
139139
return;
140140
}
141141
}
142-
ViewUtils.hideKeyboard(view);
142+
ViewUtils.hideKeyboard(view, /* useWindowInsetsController= */ false);
143143
};
144144

145145
for (EditText editText : editTexts) {

0 commit comments

Comments
 (0)