CodeMirror behaving strangely in Firefox #66

Closed
silverwind opened this Issue Mar 3, 2014 · 1 comment

2 participants

@silverwind
Owner

Quite puzzled at how this can happen, but try selecting some text in Firefox, it starts randomly deleting whitespace. Also, I noticed that sometimes when you enter the editor, no text is shown until you select something or switch the color scheme.

@ZombieHippie
Collaborator

When you enter the editor and no text is shown, which I know exactly what you mean, it is usually caused by CodeMirror being loaded in a height:0 element. A quick fix might be to use editor.update() on a time out after animation.

Now noticing strange behavior in FF; very strange; investigating.

@ZombieHippie ZombieHippie added a commit that closed this issue Mar 4, 2014
@ZombieHippie ZombieHippie Fix #66 4a190e1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment