diff --git a/src/components/ConversationSettings/ConversationSettingsDialog.vue b/src/components/ConversationSettings/ConversationSettingsDialog.vue
index 58077429a84..bb3896f1bad 100644
--- a/src/components/ConversationSettings/ConversationSettingsDialog.vue
+++ b/src/components/ConversationSettings/ConversationSettingsDialog.vue
@@ -226,7 +226,7 @@ export default {
this.$store.dispatch('updateConversationSettingsToken', token)
this.showSettings = true
this.$nextTick(() => {
- this.$refs.linkShareSettings.focus()
+ this.$refs.linkShareSettings.$el.focus()
})
},
diff --git a/src/components/LeftSidebar/NewGroupConversation/SetContacts/SetContacts.vue b/src/components/LeftSidebar/NewGroupConversation/SetContacts/SetContacts.vue
index 9b8f4019742..5b95db2a55b 100644
--- a/src/components/LeftSidebar/NewGroupConversation/SetContacts/SetContacts.vue
+++ b/src/components/LeftSidebar/NewGroupConversation/SetContacts/SetContacts.vue
@@ -23,8 +23,8 @@
diff --git a/src/components/LeftSidebar/NewGroupConversation/SetConversationName/SetConversationName.vue b/src/components/LeftSidebar/NewGroupConversation/SetConversationName/SetConversationName.vue
index 8609423c9f0..3298557c88c 100644
--- a/src/components/LeftSidebar/NewGroupConversation/SetConversationName/SetConversationName.vue
+++ b/src/components/LeftSidebar/NewGroupConversation/SetConversationName/SetConversationName.vue
@@ -27,8 +27,7 @@
:value="value"
:placeholder="t('spreed', 'Conversation name')"
@input="handleInput"
- @keydown.enter="handleKeydown">
-
+ @keydown.enter="handleKeydown" />
diff --git a/src/components/UploadEditor.vue b/src/components/UploadEditor.vue
index a17e6d9ac3e..7b4068170a9 100644
--- a/src/components/UploadEditor.vue
+++ b/src/components/UploadEditor.vue
@@ -158,7 +158,7 @@ export default {
methods: {
focus() {
this.$nextTick(() => {
- this.$refs.submitButton.focus()
+ this.$refs.submitButton.$el.focus()
})
},