react-sane-contenteditable icon indicating copy to clipboard operation
react-sane-contenteditable copied to clipboard

maxLength option prevents the user from navigating the text with arrow keys

Open ashleyw opened this issue 6 years ago • 2 comments

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 avatar Aug 08 '19 14:08 ashleyw

@ashleyw have you tested this on my PR branch?

nijk avatar Aug 08 '19 15:08 nijk

@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

ashleyw avatar Aug 09 '19 14:08 ashleyw