Skip to content

Commit

Permalink
Don't show emoji chooser unless entered search text is 3+ characters
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnonnenberg-signal committed Nov 11, 2021
1 parent bfcfafe commit a8eb371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts/quill/emoji/completion.tsx
Expand Up @@ -175,7 +175,7 @@ export class EmojiCompletion {
}
}

if (leftTokenText.length < 2) {
if (leftTokenText.length < 3) {
this.reset();
return PASS_THROUGH;
}
Expand Down

2 comments on commit a8eb371

@jeremymasters
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really like searching on the second character already. Does this save enough to warrant the change?

@scottnonnenberg-signal
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is attempting to address #5055 and #3517

Please sign in to comment.