-
Notifications
You must be signed in to change notification settings - Fork 448
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
Emoji not always inserted at the correct position #4265
Comments
Also see #3943 (comment) |
would be nice if we could just get rid of all those divs... it's already a real pain here with newlines #4259 (comment) interestingly, pasting text that contains newlines will insert true newlines, no "br" nor "div" |
The current solution doesn't work because the message input's focus and selection are lost after clicking |
Now a bug of the vue library, right? |
It is not. Vue library implements only emoji picker in text. But we also have a button with additional So I can see 3 options here:
|
Any News on this? The Bug is still present in 29.0.10. |
@bentuna Sorry this issue was far in the backlog 👀 |
I was just about to open a new issue. Fortunately I find this one opened in 2020 which is still present in Spreed 20.1.3 |
Steps to reproduce
Expected behaviour
Emoji always inserted at the cursor's position
Actual behaviour
Often times the emoji is inserted at the end of the field.
Talk app
git master 4e290c0 (10.0.0)
Browser
Chromium 85.0.4183.102
I see in NewMessageForm.vue that there's some gymnastics required to insert emojis, so I suspect that not all the cases are covered. It is also possible that sometimes the browser's internal selection/range is lost when clicking outside.
The text was updated successfully, but these errors were encountered: