Skip to content

Commit ec9a108

Browse files
committed
Add a z-index to CodeMirror-scroll to optimize drawing
Issue codemirror#6859
1 parent 8d3bac4 commit ec9a108

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/codemirror.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
164164
height: 100%;
165165
outline: none; /* Prevent dragging from highlighting the element */
166166
position: relative;
167+
z-index: 0;
167168
}
168169
.CodeMirror-sizer {
169170
position: relative;

0 commit comments

Comments
 (0)