-
Notifications
You must be signed in to change notification settings - Fork 842
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[EuiDataGrid] Cell actions cleanup + bug fixes (#5592)
* Rename CellButtons to CellActions - to be more specific and intentional about what we're referring to * Rename .euiDataGridRowCell__expandButton to .euiDataGridRowCell__expandActions * .euiDataGridRowCell__expandButtonIcon cleanup - `__expandButtonIcon` is redundant with `__actionButtonIcon` - DRY it out and have the expand popover action use `__actionButtonIcon` - isActive CSS is no longer used whatsoever - remove conditional CSS and need for `popoverIsOpen` prop - Rename animation / last cellButton reference to cellActions * [bugfix] Hide the expansion button if a cell has actions but is not expandable * [bugfix] Prevent cell action animation from restarting on targeted cell * Add changelog entry * [bugfix] Fix cell actions animation flickering issues - remove `:hover:not(:focus)` in favor of simply having `:focus` disable animations, which lets us DRY out CSS with `.euiDataGridRowCell--open` - add `:focus-within` catch that prevents flickering animation issue after cell popover expansion close - (lint) remove unnecessary brackets around `euiDataGridRowCell--open` class * Restore removed action button CSS affecting legacy theme `border` in particular was causing the cell slide in animation to look wonky - this is worth applying to all cell action button icons, not just the cell expansion popover, since it will also fix issues for custom actions that have `display="fill"` * Improve mobile UI of cell actions in expansion popover
- Loading branch information
Constance
authored
Feb 8, 2022
1 parent
030a432
commit ae099d7
Showing
8 changed files
with
105 additions
and
109 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
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
Oops, something went wrong.