Skip to content

Commit 4606a11

Browse files
CodeEditor: Ensure fade doesnt impact scrollbar clicking
1 parent 38094ed commit 4606a11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/CodeEditor/CodeEditor.css.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ globalStyle('.cm-s-neo.CodeMirror::after', {
150150
width: scrollAffordanceFadeWidth,
151151
background: `linear-gradient(90deg, transparent, ${editorBackground})`,
152152
right: 0,
153+
pointerEvents: 'none',
153154
});
154155

155156
globalStyle('.CodeMirror-scroll', {

0 commit comments

Comments
 (0)