mirror of
https://gitlab.com/ArkHost/HelixNotes.git
synced 2026-07-24 07:45:57 +02:00
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:
@@ -3669,6 +3669,7 @@
|
||||
|
||||
export function openNoteSearch() {
|
||||
noteSearchOpen = true;
|
||||
tick().then(() => noteSearchInput?.focus());
|
||||
}
|
||||
|
||||
function closeNoteSearch() {
|
||||
|
||||
Reference in New Issue
Block a user