Update choices.ts

resolve #1080
This commit is contained in:
Morez 2022-12-03 09:05:26 -08:00 committed by GitHub
parent 22f0d1f73a
commit 1dcd15b869
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {