mirror of
https://github.com/FossifyOrg/Keyboard.git
synced 2026-09-23 10:35:18 -04:00
Properly hide suggestions when emojis palette is visible
This commit is contained in:
1 file changed
+2
-2
@@ -1508,7 +1508,7 @@ class MyKeyboardView @JvmOverloads constructor(context: Context, attrs: Attribut
|
||||
|
||||
fun openEmojiPalette() {
|
||||
keyboardViewBinding!!.emojiPaletteHolder.beVisible()
|
||||
keyboardViewBinding!!.suggestionsHolder.hideAllInlineContentViews()
|
||||
keyboardViewBinding!!.suggestionsHolder.beGone()
|
||||
setupEmojis()
|
||||
}
|
||||
|
||||
@@ -1516,7 +1516,7 @@ class MyKeyboardView @JvmOverloads constructor(context: Context, attrs: Attribut
|
||||
keyboardViewBinding?.apply {
|
||||
emojiPaletteHolder.beGone()
|
||||
emojisList.scrollToPosition(0)
|
||||
suggestionsHolder.showAllInlineContentViews()
|
||||
suggestionsHolder.beVisible()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user