aboutsummaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2023-01-25 17:02:51 -0800
committerChristopher Ng <chrng8@gmail.com>2023-01-25 17:02:51 -0800
commitf6f4c62936d5502c1c75a44490bf99af39818db4 (patch)
treed8bf3804361e3f8f26f167926658ef935c227a28 /core/src
parent352bd7ecea488201e4162e4e31a0cf9770cf20a0 (diff)
downloadnextcloud-server-f6f4c62936d5502c1c75a44490bf99af39818db4.tar.gz
nextcloud-server-f6f4c62936d5502c1c75a44490bf99af39818db4.zip
Fix focus not returning to search icon
- Remove programmatic focusing already handled by focus-trap Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/views/UnifiedSearch.vue2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/src/views/UnifiedSearch.vue b/core/src/views/UnifiedSearch.vue
index 81e59efbd4c..62b5d034038 100644
--- a/core/src/views/UnifiedSearch.vue
+++ b/core/src/views/UnifiedSearch.vue
@@ -354,7 +354,6 @@ export default {
if (event.ctrlKey && event.key === 'f' && !this.open) {
event.preventDefault()
this.open = true
- this.focusInput()
}
// https://www.w3.org/WAI/GL/wiki/Using_ARIA_menus
@@ -374,7 +373,6 @@ export default {
methods: {
async onOpen() {
- this.focusInput()
// Update types list in the background
this.types = await getTypes()
},