use-editable icon indicating copy to clipboard operation
use-editable copied to clipboard

First selection + delete/backspace press does not work

Open carmon opened this issue 3 years ago • 2 comments
trafficstars

This can be reproduced in codepen example:

  • Click anywhere on the text
  • Press and hold [delete] or [backspace] keys Desired behavior: text deletion should continue until user stop pressing the key Current behavior: selection is lost after one or two characters are deleted

Ctrl + Z also works erratically.

Note: this happens only on first time selecting it. I managed to get it working OK by re-rendering the component (not an ideal solution).

carmon avatar May 20 '22 13:05 carmon

I also encountered the same problem

hkl921010 avatar Jun 10 '22 10:06 hkl921010

I've similar problems https://github.com/FormidableLabs/use-editable/issues/30

Planxnx avatar Dec 10 '23 20:12 Planxnx