Don't show emoji chooser unless entered search text is 3+ characters

This commit is contained in:
Scott Nonnenberg 2021-11-11 15:34:10 -08:00 committed by GitHub
parent bfcfafe52a
commit a8eb371ef6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ export class EmojiCompletion {
}
}
if (leftTokenText.length < 2) {
if (leftTokenText.length < 3) {
this.reset();
return PASS_THROUGH;
}