We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When the html prop is not updated, but the className prop is, then the caret position will move to the end of the element.
className
Changing a className should leave the caret position as it is.
The text was updated successfully, but these errors were encountered:
I was able to fix this by removing the following line (not too sure of the consequences of this but its working fine for me)
react-contenteditable/src/react-contenteditable.tsx
Line 93 in f4d81dd
Sorry, something went wrong.
I forked the repo and did the same thing! But I wasn't sure of the consequences either...
Thanks for helping out!
No branches or pull requests
Current behavior
When the html prop is not updated, but the
className
prop is, then the caret position will move to the end of the element.Desired behavior
Changing a
className
should leave the caret position as it is.The text was updated successfully, but these errors were encountered: