Skip to content

Commit

Permalink
Disable pointer-events on cursor divs
Browse files Browse the repository at this point in the history
So that they don't interfere with clicking and dragging

Issue codemirror#2556
  • Loading branch information
marijnh committed Jun 7, 2016
1 parent 92e9634 commit 2543f79
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/codemirror.css
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,10 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
visibility: hidden;
}

.CodeMirror-cursor { position: absolute; }
.CodeMirror-cursor {
position: absolute;
pointer-events: none;
}
.CodeMirror-measure pre { position: static; }

div.CodeMirror-cursors {
Expand Down

0 comments on commit 2543f79

Please sign in to comment.