From 1dcd15b869cd514e3628fab7b3a2479ca1547a43 Mon Sep 17 00:00:00 2001 From: Morez <50699824+ousmorez@users.noreply.github.com> Date: Sat, 3 Dec 2022 09:05:26 -0800 Subject: [PATCH] Update choices.ts 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) {