bug: messageInput autocomplete for emotes (e.g <3
) sends the message without cleaning the input state
#2316
Labels
bug
Something isn't working
status:confirmed
Described issue has been reproduced by the repo maintainer
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
<3
and press enter<3
as a plain text❤️<
(Looks like after pressing enter, is now replacing <3 with the actual ❤️)
not only that, this also works the same for the mentions, if you mention someone that has for example
<3
at the end of the name (e.g Kenny <3) it will be bugged as well and when you press enter, the mention is first send as a plain text (with no mention interaction) and the input state will remain having the value.Expected behavior
A clear and concise description of what you expected to happen.
Do the replace of the emotes once the message is send? Send the message properly (in the case of mentions) and not as a plain text.
Screenshots
If applicable, add screenshots to help explain your problem.
Screen.Recording.2024-03-08.at.8.50.34.AM.mov
Package version
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: