-
Notifications
You must be signed in to change notification settings - Fork 844
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[EuiDataGrid] Fix open cell popovers causing auto height rows to bug …
…out + misc cleanup (#5622) * Fix auto height rows breaking when cell popover opens The `flex` display on the parent `.euiDataGridRowCell` is unnecessary, and what's causing this bug * [cleanup] Remove unnecessary position relative on .euiDataGridRowCell - it's being overridden by react-window's absolute positioning in any case * [cleanup] Remove unnecessary `euiDataGridRowCell__expand` class from the popover anchor wrapper - as far as I can tell, it's not doing anything * [cleanup] Focus trap/popover hacks - the width properties aren't doing anything, so remove them - the height property is doing something but is superfluous with the inline height: 100%, so remove the inline style - add an overflow hidden to preserve overflowing content being correctly cropped by the cell padding when the popover is open (the EuiWrappingPopover adds extra div wrappers) * [misc cleanup] DRY out showCellActions if statement - can be conditional JSX instead of repeating EuiDataGridCellContent again * Add changelog entry * Revert popover cutoff change, it's introducing too many side effects + was already in place in main since 40.0.0 * Fix broken focus cell positioning on footer cells - footer cells aren't virtualized and don't have absolute positioning inline * Fix more footer issues + move footer-specific CSS that virtualized data grid cells don't need to the footer row file
- Loading branch information
Constance
authored
Feb 10, 2022
1 parent
c1f5de4
commit 91368b5
Showing
6 changed files
with
17 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters