fix(editor): refocus open in-note search on Ctrl+F (#216)

Pressing ctrl-F doesn’t refocus the search field if there is already a search term, it only focuses search on 1st open of the search field. This PR fixes it so that every time the user presses CTRL+F, the search field is focused again.

Tested on linux.

Reviewed-on: https://codeberg.org/ArkHost/HelixNotes/pulls/216
This commit is contained in:
Chris Paganon
2026-07-14 18:36:34 +02:00
committed by ArkHost
parent 2991940ba8
commit bf5a9f134d
+1
View File
@@ -3669,6 +3669,7 @@
export function openNoteSearch() {
noteSearchOpen = true;
tick().then(() => noteSearchInput?.focus());
}
function closeNoteSearch() {