From 7de934124f8d5114958506b7fef60410dcf1b8cc Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 31 Aug 2022 07:18:13 +0200 Subject: Fix select/focus of the text input Signed-off-by: Joas Schilling --- src/components/NewMessageForm/NewMessageForm.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components') diff --git a/src/components/NewMessageForm/NewMessageForm.vue b/src/components/NewMessageForm/NewMessageForm.vue index aa74fe158..279672c3d 100644 --- a/src/components/NewMessageForm/NewMessageForm.vue +++ b/src/components/NewMessageForm/NewMessageForm.vue @@ -721,8 +721,8 @@ export default { // Focus and select the text within the input field focusTextDialogInput() { - // this.$refs.textFileTitleInput.$el.focus() - this.$refs.textFileTitleInput.$el.select() + // this.$refs.textFileTitleInput.$refs.inputField.$refs.input.focus() + this.$refs.textFileTitleInput.$refs.inputField.$refs.input.select() }, }, -- cgit v1.2.3