-
Notifications
You must be signed in to change notification settings - Fork 509
Description
Steps to reproduce
- Enter a chat room
- Type some text "abcdef"
- Set the cursor behind "c"
- Pick an emoji from the picker
- Repeat with "b", "a" and other letters
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.
bentuna and SaimenSays