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

Add emoji/new line at cursor position

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

Describe the bug

It would be nice to add the selected emoji from the picker at the position of the cursor. I have just tested it on my mobile chrome browser, it will always add the emoji at the end of the text.

The same applies to the return key(new line) which is always added to the end of the message text.

Steps to reproduce

  1. Go to demo page on a mobile phone
  2. Enter text and move cursor into text
  3. Open emoji picker and select one
  4. Emoji will be added to the end of the text

Device (please complete the following information)

  • OS: [android]
  • Browser: [Chrome 107]
  • Package version: [2.0.4]

NINI1988 avatar Nov 27 '22 11:11 NINI1988

Hi @NINI1988 @antoine92190 !! :) Can you let me know if this problem is fixed please? Because in version 2.0.7, the bug still happens.

Thanks.

fabiovieira1901 avatar Mar 28 '23 11:03 fabiovieira1901