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

View File

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