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

This commit is contained in:
Scott Nonnenberg 2021-11-11 07:59:18 -08:00 committed by GitHub
parent 983713003d
commit 52ceb40d16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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