-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Awkward insertion on Facebook comments #38
Comments
Thanks for the report. This looks similar to how GitHub gist behaved for me… Can you have a look at https://gist.github.com/ and test it there (insert emojis into the code area)? |
Yeah, it does the same problem. It doesn't close the gist box, but it doesn't allow to click away from the last character. |
Update: It breaks at the 2nd insertion, not only the 3rd one. |
Similarly to what I said on #37, the new version of the website leads to the Messenger being affected by the glitch. Inserting a second emoji leads to the first being duplicated; leading to 3 emojis. A third insertion leads to 7 emojis.
EDIT: I can't grasp the logic behind it Some can't be deleted; some induce a crash if you attempt to delete them while there are no normal emojis. In this picture, we have 4 insertions. |
What do you mean by "induce a crash"? |
BTW given this only affects Facebook sites, I've had a quick look on whether this is a React issue.
Maybe you can play around there a little bit and try to reproduce the problem. Edit: wait, I actually could see the "crash", the whole websites just goes white, does not it? Console message:
|
For me, it's the whole Messenger's tabs disappearing, and a warning sign appearing.
|
Could you provide a screenshot? The one at the bottom apparently shows something else, as the messenger tab is still there?? |
The column with the active friends remains, even when the tabs/conversations part crashes. |
I've no been able to pinpoint the source of the problem, but it seems that when you insert two emoji quickly, the focus on the comment is loss and it either insert the emoji at the beginning, or reinsert your own comment at the end of the original.
1st click: works normally
2nd click: insert at the beginning
3rd click: the comment is duplicated, along with the emoji inserted at the beginning of the duplicated message
And removing the first weird unicode emoji results in the comment box being closed ad infinitum
The text was updated successfully, but these errors were encountered: