Bug Highlighting Text with Mouse

When i click on some text in codemirror, i then can successfully highlight any text with my keyboard. However, if i attempt to highlight text with my mouse, it rarely works well. Often, text is not highlighted / selected at all, or if it does it stops are a couple of characters no matter how much I continue to move my mouse. It is unpredictable and inconsistent, since it occasionally works. Has anyone ever encountered this problem? What could be wrong?

Thanks

What platform, browser, and mouse type are you using? This isn’t something that has been reported before. Does the same occur in the demos on http://codemirror.net ?