vue-advanced-chat icon indicating copy to clipboard operation
vue-advanced-chat copied to clipboard

Emoji Suggestion broken

Open NINI1988 opened this issue 2 years ago • 2 comments
trafficstars

Describe the bug

After entering the emoji suggestion the emoji will break.

  • Broken in Firefox 105
  • Works in Chrome 106

Steps to reproduce

  1. Go to https://antoine92190.github.io/vue-advanced-chat/
  2. Enter :la in text area
  3. Emoji suggestion will open
  4. Click enter to select emoji
  5. Emoji will be displayed in text area
  6. Enter one character. E.g. g
  7. Emoji will break in to halfs

Expected behavior

The cursor should be after the emoji

Screenshots

EmojiSuggestion1 EmojiSuggestion2 EmojiSuggestion3

Device (please complete the following information)

  • OS: Windows 11
  • Browser: Firefox 105
  • Package version: 2.04

NINI1988 avatar Nov 26 '22 13:11 NINI1988

Some interesting information: it seems the bug only happens on Firefox and Safari, Chrome is working fine.

antoine92190 avatar Nov 26 '22 15:11 antoine92190

Fixed in https://github.com/antoine92190/vue-advanced-chat/commit/7857bba76428faa3d20a22954e75eec4db6f5a45

antoine92190 avatar Dec 20 '22 06:12 antoine92190