Skip to content

Commit

Permalink
resolve Choices-js#1080
Browse files Browse the repository at this point in the history
  • Loading branch information
ousmorez authored Jan 9, 2023
1 parent 5dbea28 commit 099485f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/choices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1456,7 +1456,7 @@ class Choices implements Choices {
PAGE_DOWN_KEY,
} = KEY_CODES;

if (!this._isTextElement && !hasActiveDropdown && wasPrintableChar) {
if (!this._isTextElement && !hasActiveDropdown && wasPrintableChar && event.key.length === 1) {
this.showDropdown();

if (!this.input.isFocussed) {
Expand Down

0 comments on commit 099485f

Please sign in to comment.