1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Desktop: Fixes #7520: Search field doesn't get focus when pressing Ctrl+F (#7529)

This commit is contained in:
Betty Alagwu
2022-12-31 07:54:04 +08:00
committed by GitHub
parent 854f1163cd
commit 5fb01b5c7a
4 changed files with 20 additions and 5 deletions

View File

@ -94,7 +94,7 @@ function NoteEditor(props: NoteEditorProps) {
showLocalSearch,
setShowLocalSearch,
searchMarkers: localSearchMarkerOptions,
} = useNoteSearchBar();
} = useNoteSearchBar({ noteSearchBarRef });
// If the note has been modified in another editor, wait for it to be saved
// before loading it in this editor.