diff --git a/ui/imports/shared/status/StatusChatInput.qml b/ui/imports/shared/status/StatusChatInput.qml index 2da2567c1b..4fa2d487b7 100644 --- a/ui/imports/shared/status/StatusChatInput.qml +++ b/ui/imports/shared/status/StatusChatInput.qml @@ -422,10 +422,12 @@ Rectangle { event.accepted = true } - if (event.key === Qt.Key_Down) { + if (event.key === Qt.Key_Down && emojiSuggestions.visible) { + event.accepted = true return emojiSuggestions.listView.incrementCurrentIndex() } - if (event.key === Qt.Key_Up) { + if (event.key === Qt.Key_Up && emojiSuggestions.visible) { + event.accepted = true return emojiSuggestions.listView.decrementCurrentIndex() }