bug: mentions in some scenarios doesn't work #2368
Labels
bug
Something isn't working
cluster:@mentions
cluster:message-input
Issues related to message input and its textarea
status:confirmed
Described issue has been reproduced by the repo maintainer
Describe the bug
A clear and concise description of what the bug is.
There are some cases where the mentions don't work at all (it don't render the component as a mention)
Screen.Recording.2024-04-18.at.11.31.14.AM.mov
Kenny.
)Screen.Recording.2024-04-18.at.11.32.42.AM.mov
Creating the mention (and working)
(by creating the video i found another problem :)))) okay guys i definitely need some help here to fix this. is driving me crazy)
Screen.Recording.2024-04-18.at.11.35.16.AM.mov
Mentioning the same user but with a new name
Screen.Recording.2024-04-18.at.11.40.35.AM.mov
To Reproduce
Steps to reproduce the behavior:
Scenarios
[a] emote in name
1. go to chat
2. set your name as
Kenny🟢
)3. with another user in a channel where both user are members try to mention
@Kenny🟢
[b] spaces in name
1. go to chat
2. set your name as
Kenny.
)3. with another user in a channel where both user are members try to mention
@Kenny.
[b] old mention broken after same user change their name
1. go to chat
2. set your name as
Kenny
)3. with another user in a channel where both user are members try to mention
@Kenny
4. now as
Kenny
go again and change your name now toKenny 2
5. with the same other user, try to mention
@Kenny 2
6. The
@Kenny 2
mention will work but the old@Kenny
mention will stop working and will be displayed as a normal textExpected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Package version
Desktop (please complete the following information):
Smartphone (please complete the following information):Additional context
The text was updated successfully, but these errors were encountered: