aboutsummaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/views/UnifiedSearch.vue3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/views/UnifiedSearch.vue b/core/src/views/UnifiedSearch.vue
index 6a30ee9a0e0..7040ccd7505 100644
--- a/core/src/views/UnifiedSearch.vue
+++ b/core/src/views/UnifiedSearch.vue
@@ -370,6 +370,9 @@ export default {
if (event.ctrlKey && event.key === 'f' && !this.open) {
event.preventDefault()
this.open = true
+ } else if (event.ctrlKey && event.key === 'f' && this.open) {
+ // User wants to use the native browser search, so we close ours again
+ this.open = false
}
// https://www.w3.org/WAI/GL/wiki/Using_ARIA_menus