fix(core): search `f` keycode

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
pull/54367/head
Atemu 2025-08-09 15:57:38 +07:00 committed by nextcloud-command
parent 65f8de6d94
commit d69e8923fe
1 changed files with 1 additions and 1 deletions

@ -129,7 +129,7 @@ export default defineComponent({
* @param event The keyboard event
*/
onKeyDown(event: KeyboardEvent) {
if (event.ctrlKey && event.code === 'KeyF') {
if (event.ctrlKey && event.key === 'f') {
// only handle search if not already open - in this case the browser native search should be used
if (!this.showLocalSearch && !this.showUnifiedSearch) {
event.preventDefault()