Fix bug in some apps hiding keyboard when input is modal

This commit is contained in:
Aleksandras Kostarevas 2024-07-20 23:34:13 +03:00
parent cee9548995
commit 8bd334e919

View File

@ -558,10 +558,10 @@ class LatinIME : InputMethodService(), LifecycleOwner, ViewModelStoreOwner, Save
return
}
val visibleTopY = if(isInputModal) { 0 } else { inputHeight - touchableHeight }
val visibleTopY = inputHeight - touchableHeight
val touchLeft = 0
val touchTop = visibleTopY
val touchTop = if(isInputModal) { 0 } else { visibleTopY }
val touchRight = composeView.width
val touchBottom = inputHeight