diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2023-10-16 16:05:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-16 16:05:25 +0200 |
commit | 0321bec791054bbdaf3a5a5d3f4bbad22dbb9634 (patch) | |
tree | 8de938db2dd923b76b8177c6dddeef182578cb7b /core/src | |
parent | 90485aa39c60ad229adc022f40819397e244c9e3 (diff) | |
parent | 7d13e9563be0c6670b30471577db7599f6f45abd (diff) | |
download | nextcloud-server-0321bec791054bbdaf3a5a5d3f4bbad22dbb9634.tar.gz nextcloud-server-0321bec791054bbdaf3a5a5d3f4bbad22dbb9634.zip |
Merge pull request #40890 from nextcloud/fix/search/close-unified-search-second-ctrl-f
fix(search): Close unified search at the second ctrl+f
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/views/UnifiedSearch.vue | 3 |
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 |