Skip to content

Commit

Permalink
remove contain layout css (#1346)
Browse files Browse the repository at this point in the history
Chrome V70 Fix Cell Actions and scrolling issues
  • Loading branch information
JamesPortelli authored and amanmahajan7 committed Oct 29, 2018
1 parent fd85bb0 commit ac266a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions packages/react-data-grid/src/Cell.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down
3 changes: 1 addition & 2 deletions packages/react-data-grid/src/Row.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit ac266a9

Please sign in to comment.