From f6f4c62936d5502c1c75a44490bf99af39818db4 Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Wed, 25 Jan 2023 17:02:51 -0800 Subject: Fix focus not returning to search icon - Remove programmatic focusing already handled by focus-trap Signed-off-by: Christopher Ng --- core/src/views/UnifiedSearch.vue | 2 -- 1 file changed, 2 deletions(-) (limited to 'core/src') 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() }, -- cgit v1.2.3