Skip to content

Commit 460d43a

Browse files
fix(ui): Avoid scroll chaining on code block selector (#6741)
1 parent c9adebd commit 460d43a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/codeBlock.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ const Selections = styled('div')`
261261
background: #fff;
262262
border-radius: 3px;
263263
overflow: scroll;
264+
overscroll-behavior: contain;
264265
max-height: 210px;
265266
min-width: 300px;
266267
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

0 commit comments

Comments
 (0)