Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First selection + delete/backspace press does not work #23

Open
carmon opened this issue May 20, 2022 · 2 comments
Open

First selection + delete/backspace press does not work #23

carmon opened this issue May 20, 2022 · 2 comments

Comments

@carmon
Copy link

carmon commented May 20, 2022

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).

@hkl921010
Copy link

I also encountered the same problem

@Planxnx
Copy link

Planxnx commented Dec 10, 2023

I've similar problems #30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants