diff --git a/java/src/org/futo/inputmethod/keyboard/KeyboardSwitcher.java b/java/src/org/futo/inputmethod/keyboard/KeyboardSwitcher.java index d00e64276..ebdaf5c09 100644 --- a/java/src/org/futo/inputmethod/keyboard/KeyboardSwitcher.java +++ b/java/src/org/futo/inputmethod/keyboard/KeyboardSwitcher.java @@ -329,9 +329,7 @@ public final class KeyboardSwitcher implements SwitchActions { } public boolean isShowingMoreKeysPanel() { - if (isShowingEmojiPalettes()) { - return false; - } + if(mKeyboardView == null) return false; return mKeyboardView.isShowingMoreKeysPanel(); } diff --git a/java/src/org/futo/inputmethod/latin/LatinIME.kt b/java/src/org/futo/inputmethod/latin/LatinIME.kt index 4d9b72996..d215cfc45 100644 --- a/java/src/org/futo/inputmethod/latin/LatinIME.kt +++ b/java/src/org/futo/inputmethod/latin/LatinIME.kt @@ -685,7 +685,7 @@ class LatinIME : InputMethodServiceCompose(), LatinIMELegacy.SuggestionStripCont } } - if(isInputModal) { + if(isInputModal || latinIMELegacy.mKeyboardSwitcher?.isShowingMoreKeysPanel == true) { touchableInsets = Insets.TOUCHABLE_INSETS_REGION touchableRegion.set(0, 0, composeView!!.width, composeView!!.height) }