diff --git a/src/TextEditor.js b/src/TextEditor.js index b72bdde9..a9b8ceb8 100644 --- a/src/TextEditor.js +++ b/src/TextEditor.js @@ -124,6 +124,7 @@ class TextEditor extends React.Component { style={{ left: `calc(${this.props.width} - 2 * 12px - 12px - ${scrollbarWidth}px`, display: this.props.error ? 'block' : 'none', + zIndex: 1, }} color="inherit" aria-label="Error"