Hi, thanks for writing this, I used react-codemirror before but ran into JedWatson/react-codemirror#121 ...
Now, when I update the state used in the value prop in onValueChange, the cursor resets to the beginning of the text. Any hint on how to prevent that?