Browse Source

Fix focus not returning to search icon
- Remove programmatic focusing already handled by focus-trap

Signed-off-by: Christopher Ng <chrng8@gmail.com>

Christopher Ng 1 year ago
parent
commit
f6f4c62936

+ 0 - 2
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()
 		},

File diff suppressed because it is too large
+ 0 - 0
dist/core-unified-search.js


File diff suppressed because it is too large
+ 0 - 0
dist/core-unified-search.js.map


Some files were not shown because too many files changed in this diff