brownplt / ZZZ-captain-teach

Set sail for Learning Island! Deprecated and no longer maintained
5 stars 1 forks source link

Cursor wanders in CodeMirror on some screen sizes #32

Open jpolitz opened 11 years ago

jpolitz commented 11 years ago

Sometimes, after resizing or on small screens, the cursor gets out of sync with the text position in the editor, usually going past the place where editing should happen.

This has been observed in both code and open response editors. It seems to not happen on the screen size of the CIT lab machines, more often on laptop-sized screens.

A possible fix is to just call CodeMirror's refresh() method more aggressively.