Skip to content

Commit da518d2

Browse files
jihchiTimer
authored andcommitted
Fix floating caret position incorrect while scrolling overlay (#4024)
1 parent 9c167a4 commit da518d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-error-overlay/src/components/CodeBlock.js

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import React from 'react';
1010
import { redTransparent, yellowTransparent } from '../styles';
1111

1212
const _preStyle = {
13+
position: 'relative',
1314
display: 'block',
1415
padding: '0.5em',
1516
marginTop: '0.5em',

0 commit comments

Comments
 (0)