Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-08-31 08:18:13 +0300
committerJoas Schilling <coding@schilljs.com>2022-08-31 09:15:43 +0300
commit7de934124f8d5114958506b7fef60410dcf1b8cc (patch)
tree539d2496651f714e4d2fb82a83c5c198f9544017 /src
parent40a4ecd4cfc328249168782b97d3b0211e2f47f0 (diff)
Fix select/focus of the text input
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src')
-rw-r--r--src/components/NewMessageForm/NewMessageForm.vue4
1 files changed, 2 insertions, 2 deletions
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()
},
},