diff --git a/src/text-editor-component.js b/src/text-editor-component.js index a9515d474..c3b6c83d0 100644 --- a/src/text-editor-component.js +++ b/src/text-editor-component.js @@ -229,7 +229,8 @@ class TextEditorComponent { let children let style = { contain: 'strict', - overflow: 'hidden' + overflow: 'hidden', + backgroundColor: 'inherit' } if (this.measurements) { const contentWidth = this.getContentWidth()