From 099485fb5cd7cf7738c3c15b5c816c0ff31d5ac3 Mon Sep 17 00:00:00 2001 From: Morez <50699824+ousmorez@users.noreply.github.com> Date: Mon, 9 Jan 2023 14:04:25 +0330 Subject: [PATCH] resolve #1080 resolve #1080 --- src/scripts/choices.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/choices.ts b/src/scripts/choices.ts index 36a51da..c0491c6 100644 --- a/src/scripts/choices.ts +++ b/src/scripts/choices.ts @@ -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) {