From 7b461a54542266935f1353974d661a5708d68f92 Mon Sep 17 00:00:00 2001 From: James Portelli Date: Mon, 29 Oct 2018 16:39:42 +0000 Subject: [PATCH] remove contain layout css --- packages/react-data-grid/src/Cell.js | 3 +-- packages/react-data-grid/src/Row.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/react-data-grid/src/Cell.js b/packages/react-data-grid/src/Cell.js index db42dd120b..9b42a86f02 100644 --- a/packages/react-data-grid/src/Cell.js +++ b/packages/react-data-grid/src/Cell.js @@ -139,8 +139,7 @@ class Cell extends React.PureComponent { position: 'absolute', width: this.props.column.width, height: this.props.height, - left: this.props.column.left, - contain: 'layout' + left: this.props.column.left }; return style; }; diff --git a/packages/react-data-grid/src/Row.js b/packages/react-data-grid/src/Row.js index 348465f50c..898a3a28f6 100644 --- a/packages/react-data-grid/src/Row.js +++ b/packages/react-data-grid/src/Row.js @@ -144,8 +144,7 @@ class Row extends React.Component { let style = { height: this.getRowHeight(this.props), - overflow: 'hidden', - contain: 'layout' + overflow: 'hidden' }; let cells = this.getCells();