Fix InputAwareLayout incorrectly overriding height in bubble mode.

This commit is contained in:
Sagar
2025-04-10 20:06:55 +05:30
committed by Alex Hart
parent ad21c349cd
commit 4e07ac0300

View File

@@ -133,10 +133,12 @@ open class InsetAwareConstraintLayout @JvmOverloads constructor(
if (keyboardInsets.bottom > 0) {
setKeyboardHeight(keyboardInsets.bottom)
if (!keyboardAnimator.animating) {
keyboardGuideline?.setGuidelineEnd(keyboardInsets.bottom)
} else {
keyboardAnimator.endingGuidelineEnd = keyboardInsets.bottom
if (!overridingKeyboard) {
if (!keyboardAnimator.animating) {
keyboardGuideline?.setGuidelineEnd(keyboardInsets.bottom)
} else {
keyboardAnimator.endingGuidelineEnd = keyboardInsets.bottom
}
}
} else if (!overridingKeyboard) {
if (!keyboardAnimator.animating) {