-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
CodeMirrorMerge gets unfocused on value change #566
Comments
Here's the issue in codesandbox https://codesandbox.io/s/bold-estrela-rzqwck?file=/src/App.js |
@jaywcjlove I updated to latest release and now it won't even render the editor. Codesandbox |
react-codemirror/merge/src/index.tsx Lines 11 to 14 in 92c4abe
@denbalogh I'm trying to fix it by adding a react-codemirror/merge/src/Internal.tsx Lines 78 to 84 in 92c4abe
During the update, all So I thought of a compromise method and regenerated it after updating, which caused the react-codemirror/merge/src/Internal.tsx Lines 99 to 119 in 92c4abe
|
@jaywcjlove Is that a difficult problem to solve, will it take long? Sorry to be a bother, but we count on this functionality in our project. |
@denbalogh Looks like the problem is solved |
@jaywcjlove yes, seems like it is. Thank you, very appreciated 🙏 |
When I use
CodeMirrorMerge
withonChange
prop in theCodeMirrorMerge.Original
component, the editor gets unfocused every time I change the value.It is happening since the 4.21.2 update.
The text was updated successfully, but these errors were encountered: