mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-04 06:43:15 +02:00
resolve #1080
This commit is contained in:
parent
5dbea2825a
commit
8d8c155675
|
@ -1456,7 +1456,12 @@ 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) {
|
||||
|
|
Loading…
Reference in a new issue