Fix chat search when using Japanese IMEs.

Resolves #13467
This commit is contained in:
Fumiaki Yoshimatsu
2024-03-08 17:32:15 -08:00
committed by Cody Henthorne
parent 55bce1fa12
commit 72f19758db

View File

@@ -130,9 +130,9 @@ open class InsetAwareConstraintLayout @JvmOverloads constructor(
if (previousKeyboardHeight != keyboardInsets.bottom) {
keyboardStateListeners.forEach {
if (previousKeyboardHeight <= 0) {
if (previousKeyboardHeight <= 0 && keyboardInsets.bottom > 0) {
it.onKeyboardShown()
} else {
} else if (previousKeyboardHeight > 0 && keyboardInsets.bottom <= 0) {
it.onKeyboardHidden()
}
}