Skip to content

Commit

Permalink
feat: focus input after selecting tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonella Sgarlatta committed Jun 3, 2021
1 parent ff0270f commit 622cca7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const AutocompleteTagResult = observer(
const onTagOptionClick = async (tag: SNTag) => {
await appState.noteTags.addTagToActiveNote(tag);
appState.noteTags.clearAutocompleteSearch();
appState.noteTags.setAutocompleteInputFocused(true);
};

const onKeyDown = (event: KeyboardEvent) => {
Expand Down

0 comments on commit 622cca7

Please sign in to comment.