This commit is contained in:
Morez 2022-12-19 08:18:18 +00:00 committed by GitHub
commit 7536befcf7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1459,7 +1459,7 @@ class Choices implements Choices {
if (!this._isTextElement && !hasActiveDropdown && wasPrintableChar) {
this.showDropdown();
if (!this.input.isFocussed) {
if (!this.input.isFocussed && event.key.length === 1) {
/*
We update the input value with the pressed key as
the input was not focussed at the time of key press