Skip to content

Commit

Permalink
fix(input): multi-select refocus on enter
Browse files Browse the repository at this point in the history
fixes
  • Loading branch information
danielo515 committed Dec 7, 2023
1 parent a9b9fdb commit 6f8d2ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/suggesters/MultiSuggest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ export class MultiSuggest extends AbstractInputSuggest<string> {
selectSuggestion(content: string, evt: MouseEvent | KeyboardEvent): void {
this.onSelectCb(content);
this.inputEl.value = "";
// this.inputEl.trigger("blur");
this.inputEl.blur()
this.close();
this.inputEl.focus();
}
}

0 comments on commit 6f8d2ca

Please sign in to comment.