fix(EuiDataGrid): don't apply icon color to disabled cell action buttons #9672
Merged
tkajtoch merged 6 commits intoMay 26, 2026
Merged
Conversation
mgadewoll
reviewed
May 26, 2026
| } | ||
|
|
||
| /* Force all cell action buttons to match EUI colors unless disabled */ | ||
| &:not(:disabled), |
Contributor
There was a problem hiding this comment.
Considering that EUI buttons support hasAriaDisabled we should use euiDisabledSelector that includes aria-disabled as well.
Collaborator
💚 Build Succeeded
History
cc @tkajtoch |
Collaborator
💚 Build SucceededHistory
cc @tkajtoch |
mgadewoll
approved these changes
May 26, 2026
Contributor
mgadewoll
left a comment
There was a problem hiding this comment.
🟢 LGTM. I can confirm that the grid action button icons are now correctly displayed as disabled.
5 tasks
acstll
added a commit
to elastic/kibana
that referenced
this pull request
May 27, 2026
## Dependency updates - `@elastic/eui` - v116.1.0 ⏩ v116.2.0 --- ## Package updates ### @elastic/eui [`v116.2.0`](https://github.com/elastic/eui/blob/main/packages/eui/changelogs/CHANGELOG_2026.md) - Added experimental support for always-visible sticky horizontal scrollbars in `EuiTable`, `EuiBasicTable` and `EuiInMemoryTable` useful for dense tables that exceed the height of the viewport. This feature is currently opt-in and can be enabled by setting `stickyScrollbar: true`. ([#9674](elastic/eui#9674)) - Added `significantEvents` glyph to `EuiIcon` ([#9665](elastic/eui#9665)) **Bug fixes** - Fixed `EuiDataGrid` incorrectly styling disabled `cellActions` icon buttons and making them look like they were not disabled ([#9672](elastic/eui#9672)) - Fixed a visual misalignment on `EuiSelectableTemplateSitewide` list items when search terms are highlighted ([#9669](elastic/eui#9669)) **Dependency updates** - Updated `uuid` to v14.0.0 ([#9663](elastic/eui#9663)) Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
smith
pushed a commit
to smith/kibana
that referenced
this pull request
May 27, 2026
## Dependency updates - `@elastic/eui` - v116.1.0 ⏩ v116.2.0 --- ## Package updates ### @elastic/eui [`v116.2.0`](https://github.com/elastic/eui/blob/main/packages/eui/changelogs/CHANGELOG_2026.md) - Added experimental support for always-visible sticky horizontal scrollbars in `EuiTable`, `EuiBasicTable` and `EuiInMemoryTable` useful for dense tables that exceed the height of the viewport. This feature is currently opt-in and can be enabled by setting `stickyScrollbar: true`. ([elastic#9674](elastic/eui#9674)) - Added `significantEvents` glyph to `EuiIcon` ([elastic#9665](elastic/eui#9665)) **Bug fixes** - Fixed `EuiDataGrid` incorrectly styling disabled `cellActions` icon buttons and making them look like they were not disabled ([elastic#9672](elastic/eui#9672)) - Fixed a visual misalignment on `EuiSelectableTemplateSitewide` list items when search terms are highlighted ([elastic#9669](elastic/eui#9669)) **Dependency updates** - Updated `uuid` to v14.0.0 ([elastic#9663](elastic/eui#9663)) Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR addresses an issue in style overrides applied to EuiButtonIcon when rendering EuiDataGrid cell actions. Previously, when
disabledorisDisabledwere passed to the cell action's<Component>, the style overrides made it look like a regular, not disabled button icon. This fix makes these styles apply only for non-disabled button icons as the disabled state always uses the same icon color no matter thecolorset.API Changes
N/A
Screenshots
On both screenshots the
mailbutton icon hasisDisabledapplied.Impact Assessment
Note: Most PRs should be tested in Kibana to help gauge their Impact before merging.
🔴 Breaking changes — What will break? How many usages in Kibana/Cloud UI are impacted?🧪 Test impact — May break functional or snapshot tests (e.g., HTML structure, class names, default values).🔧 Hard to integrate — If changes require substantial updates to Kibana, please stage the changes and link them here.Impact level: 🟢 None to Low
Release Readiness
Documentation: {link to docs page(s)}Migration guide: {steps or link, for breaking/visual changes or deprecations}Adoption plan (new features): {link to issue/doc or outline who will integrate this and where}QA instructions for reviewer
isDisabledto the<Component>insidecellActionsarray (see copy-paste code below)Emailcolumn has disabled styles appliedChecklist before marking Ready for Review
QA: Tested docs changesTests: Added/updated Jest, Cypress, and VRTBreaking changes: Addedbreaking changelabel (if applicable)Reviewer checklist