From 333fa706517f72d1427e47a7c7e9f9517f3fe934 Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Mon, 27 Feb 2023 13:29:57 +0100 Subject: [PATCH] set focus to native input in NcInputField Signed-off-by: Maksim Sukharev --- .../SetConversationName/SetConversationName.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/LeftSidebar/NewGroupConversation/SetConversationName/SetConversationName.vue b/src/components/LeftSidebar/NewGroupConversation/SetConversationName/SetConversationName.vue index 3298557c88c..c4a9619f325 100644 --- a/src/components/LeftSidebar/NewGroupConversation/SetConversationName/SetConversationName.vue +++ b/src/components/LeftSidebar/NewGroupConversation/SetConversationName/SetConversationName.vue @@ -53,7 +53,7 @@ export default { visibilityChanged(isVisible) { if (isVisible) { // Focus the input field of the current component. - this.$refs.conversationName.focus() + this.$refs.conversationName?.$refs.inputField?.$refs.input?.focus() } }, // Forward the keydown event to the parent