From 52ceb40d163b3db540deb0f88bbbfe35b956e302 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Thu, 11 Nov 2021 07:59:18 -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 e284428ec7..b532db8063 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; }