Skip to content

Commit

Permalink
[DataGrid] Add will-change to CSS to improve performance in chrome fu…
Browse files Browse the repository at this point in the history
…ll screen mode (#3726)
  • Loading branch information
kertal authored Aug 3, 2020
1 parent 59d9205 commit 700fe0e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## [`master`](https://github.com/elastic/eui/tree/master)

No public interface changes since `27.3.1`.
**Bug fixes**

- Improve `EuiDataGrid` Chrome rendering performance in Full screen [#3705](https://github.com/elastic/eui/issues/3705)

## [`27.3.1`](https://github.com/elastic/eui/tree/v27.3.1)

Expand Down
4 changes: 4 additions & 0 deletions src/components/datagrid/_data_grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
background: $euiColorLightestShade;
border-top: $euiBorderThin;
}

.euiDataGrid__verticalScroll .euiDataGridRow {
will-change: transform;
}
}

.euiDataGrid__content {
Expand Down

0 comments on commit 700fe0e

Please sign in to comment.