diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2021-05-03 10:55:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-03 10:55:04 +0300 |
commit | f3f8743fa428e18d4ae3ccae6969ea341c80d9e2 (patch) | |
tree | a795ec95fd4e1df71e789a7b3c02502c4e4ad34e /src | |
parent | 63619f4fa558e80a4ba525ab0b761b3904039aac (diff) | |
parent | 46f1879642eaeeee48607e480744bc484de007de (diff) |
Merge pull request #5541 from nextcloud/bugfix/noid/fix-conversation-search-focus
Fix conversation search focus
Diffstat (limited to 'src')
-rw-r--r-- | src/components/LeftSidebar/LeftSidebar.vue | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/components/LeftSidebar/LeftSidebar.vue b/src/components/LeftSidebar/LeftSidebar.vue index e9ea1415f..79b4adce8 100644 --- a/src/components/LeftSidebar/LeftSidebar.vue +++ b/src/components/LeftSidebar/LeftSidebar.vue @@ -29,7 +29,7 @@ class="conversations-search" :is-searching="isSearching" @input="debounceFetchSearchResults" - @keypress.enter.prevent.stop="onInputEnter" + @submit="onInputEnter" @abort-search="abortSearch" /> <NewGroupConversation v-if="canStartConversations" /> @@ -344,9 +344,6 @@ export default { async fetchSearchResults() { await Promise.all([this.fetchPossibleConversations(), this.fetchListedConversations()]) - - // If none already focused, focus the first rendered result - this.focusInitialise() }, /** |