From a8eb371ef6e21f3041cb8520268471041c66fffc Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Thu, 11 Nov 2021 15:34:10 -0800 Subject: [PATCH] Don't show emoji chooser unless entered search text is 3+ characters --- ts/quill/emoji/completion.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/quill/emoji/completion.tsx b/ts/quill/emoji/completion.tsx index e284428ec7e..b532db8063b 100644 --- a/ts/quill/emoji/completion.tsx +++ b/ts/quill/emoji/completion.tsx @@ -175,7 +175,7 @@ export class EmojiCompletion { } } - if (leftTokenText.length < 2) { + if (leftTokenText.length < 3) { this.reset(); return PASS_THROUGH; }