Parcourir la source

Merge pull request #40890 from nextcloud/fix/search/close-unified-search-second-ctrl-f

fix(search): Close unified search at the second ctrl+f
tags/v28.0.0beta1
Christoph Wurst il y a 8 mois
Parent
révision
0321bec791
Aucun compte lié à l'adresse e-mail de l'auteur

+ 3
- 0
core/src/views/UnifiedSearch.vue Voir le fichier

@@ -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

+ 2
- 2
dist/core-unified-search.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 1
- 1
dist/core-unified-search.js.map
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


Chargement…
Annuler
Enregistrer