From 2b408fe6cdf07e1cb801151df391e54ec963ac29 Mon Sep 17 00:00:00 2001 From: Alexandra Betouni <31625338+alexandraB99@users.noreply.github.com> Date: Tue, 21 Sep 2021 17:27:23 +0300 Subject: [PATCH] fix(desktop/chatInput) mentions were misused formattedPlainTextFilter was not reset when suggestion box was closed causing the insertMention function to be called again even thought there was no mention in the chat input Closes #3535 --- ui/app/AppLayouts/Chat/ChatColumn/SuggestionBox.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/app/AppLayouts/Chat/ChatColumn/SuggestionBox.qml b/ui/app/AppLayouts/Chat/ChatColumn/SuggestionBox.qml index e62569cb2e..782853f075 100644 --- a/ui/app/AppLayouts/Chat/ChatColumn/SuggestionBox.qml +++ b/ui/app/AppLayouts/Chat/ChatColumn/SuggestionBox.qml @@ -59,6 +59,7 @@ Rectangle { function hide() { shouldHide = true + formattedPlainTextFilter = ""; } function selectCurrentItem() {