Skip to content

Commit

Permalink
[EuiDataGrid] Fix scrollbar bouncing issue in v95.12.0 (#8041)
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen authored Sep 25, 2024
1 parent e2a233b commit ebe9833
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions packages/eui/changelogs/upcoming/8041.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**Bug fixes**

- Fixed an `EuiDataGrid` rendering bug that was causing bouncing scrollbar issues
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ export const euiDataGridRowCellStyles = (euiThemeContext: UseEuiTheme) => {
// Control columns should be vertically centered with the *first line* of text
// for both single and multi-line heights (see https://github.com/elastic/eui/issues/7897)
controlColumn: css`
${
// ❗ For some reason Chromium browsers will scrollbar stutter without this :|||
logicalCSS('max-height', '100%')
}
display: inline-flex;
align-items: start;
gap: ${euiTheme.size.xxs}; /* EuiButtonIcons */
Expand Down

0 comments on commit ebe9833

Please sign in to comment.