Composer ignores emoji shortcodes when sending quickly #27627
Labels
A-Composer
A-Emoji
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Minor
Impairs non-critical functionality or suitable workarounds exist
T-Defect
Steps to reproduce
Possibly related to #27625
Attempt to send an emoji shortcode before the suggestion window pops up. You will not be barred from sending the message, and will instead send an embarrassing incomplete emoji as text.
This could potentially be solved by the client caching emoji suggestions, if network speed is somehow an issue, but I am unfamiliar with how the technology stack here works, or where this data comes from, or where the bottleneck lies.
Outcome
What did you expect?
The composer should prevent sending of messages when it is pending auto-completion for emojis. Enter should instead complete the emoji, or do nothing if the list of valid completions is not available.
What happened instead?
The composer ignored this state and sent the message anyway.
Operating system
Windows 8.1
Browser information
Firefox 115.12.0esr (64-bit). Reproducible on Chrome
URL for webapp
https://app.element.io/
Application version
1.11.69
Homeserver
matrix.org
Will you send logs?
No
The text was updated successfully, but these errors were encountered: