TypeFox / monaco-languageclient

Repo hosts npm packages for monaco-languageclient, vscode-ws-jsonrpc, monaco-editor-wrapper, @typefox/monaco-editor-react and monaco-languageclient-examples
https://www.npmjs.com/package/monaco-languageclient
MIT License
1.05k stars 178 forks source link

MonacoEditorReactComp not updating onTextChanged callback #683

Closed vrama628 closed 3 months ago

vrama628 commented 3 months ago

When the onTextChanged prop passed to MonacoEditorReactComp changes, the new updated onTextChanged callback isn't used; only the original value of onTextChanged passed in the initial render seems to be used.