Fix SearchView loosing focus.

This commit is contained in:
Sagar
2025-04-16 06:16:17 +05:30
committed by Cody Henthorne
parent cd98ccbf00
commit 16b4b3b6b7
2 changed files with 7 additions and 2 deletions

View File

@@ -194,6 +194,7 @@ open class InsetAwareConstraintLayout @JvmOverloads constructor(
protected fun resetKeyboardGuideline() {
clearKeyboardGuidelineOverride()
keyboardGuideline?.setGuidelineEnd(navigationBarGuideline.guidelineEnd)
keyboardAnimator.endingGuidelineEnd = navigationBarGuideline.guidelineEnd
}
private fun getKeyboardHeight(): Int {