use-editable
use-editable copied to clipboard
First selection + delete/backspace press does not work
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).
I also encountered the same problem
I've similar problems https://github.com/FormidableLabs/use-editable/issues/30