From 84a9b873f78d98ecfe9a1e922064e139afafa917 Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Wed, 8 Sep 2021 12:41:50 +0200 Subject: [PATCH] fix(@desktop/chat): force focus on search input when popup is opened Closes #3392 --- ui/StatusQ | 2 +- ui/app/AppLayouts/Chat/ChatLayout.qml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/StatusQ b/ui/StatusQ index 73c77c29c2..efe3116610 160000 --- a/ui/StatusQ +++ b/ui/StatusQ @@ -1 +1 @@ -Subproject commit 73c77c29c2db7918c6fd1654ecd8949c7ce65cbe +Subproject commit efe31166103b21352ac48ea387f2b39b9a899608 diff --git a/ui/app/AppLayouts/Chat/ChatLayout.qml b/ui/app/AppLayouts/Chat/ChatLayout.qml index c0c392abfe..f4c9902d0c 100644 --- a/ui/app/AppLayouts/Chat/ChatLayout.qml +++ b/ui/app/AppLayouts/Chat/ChatLayout.qml @@ -88,6 +88,7 @@ StatusAppThreePanelLayout { } onOpened: { searchPopup.resetSearchSelection(); + searchPopup.forceActiveFocus() chatsModel.messageSearchViewController.prepareLocationMenuModel() const jsonObj = chatsModel.messageSearchViewController.getSearchLocationObject()