I am facing issue with cursor in the code mirror editor when I press any key. The cursor disappears and need a mouse click to make it reappear.
Below is the code snippet from React application-
const [editorCode, setEditorCodeValue] = useState(‘’);
The issue occurs only when I add setEditorCodeValue(code) to the onChange event.
Any assistance on this issue would really help.