react-mentions icon indicating copy to clipboard operation
react-mentions copied to clipboard

Undo functionality is not working completely fine

Open IP-Andro opened this issue 3 years ago • 2 comments

Steps to reproduce:

  1. Add MentionsInput with no value
  2. Now type something
  3. Now add some mentions using trigger keyword ( # or @ ) specified
  4. Now type something again .
  5. Now keep doing undo

Expected behaviour: Undo should remove all the text

Observed behaviour: Undo works only till the point mention is added to textarea box . Thus undo functionality is not working completely . This behaviour can also be observed in demo index.html provided with this repo .

IP-Andro avatar Nov 17 '21 07:11 IP-Andro

It seems that the undo also breaks if pasting some text in the textarea.

Bilb avatar Dec 01 '21 23:12 Bilb

Can you solve this bug with high priority or can any other contributor solve this bug?

karthikreddi avatar Mar 22 '22 16:03 karthikreddi