react-sane-contenteditable
react-sane-contenteditable copied to clipboard
maxLength option prevents the user from navigating the text with arrow keys
If the content has reached the maxLength limit, it's not possible to navigate using arrow keys, since unless the input is a backspace we call ev.preventDefault()
@ashleyw have you tested this on my PR branch?
@ashleyw have you tested this on my PR branch?
Hey @nijk! Looks like it's also not working in your branch. May also be affecting Cmd+Z? I've opened a PR with a Typescript upgrade based on your branch: https://github.com/ashleyw/react-sane-contenteditable/pull/55