Repository navigation
[EuiListItemLayout] Add hover styles only on interactive items - #9605
Merged
Conversation
mgadewoll
force-pushed
the
feat/selectable-ui-enhancements
branch
2 times, most recently
from
April 22, 2026 09:00
231d3f8 to
4248364
Compare
mgadewoll
force-pushed
the
listitemlayout/fix-interactive-styles-appliance
branch
from
April 22, 2026 09:07
66a5cef to
7bc8e4b
Compare
13 of 17 tasks
mgadewoll
force-pushed
the
listitemlayout/fix-interactive-styles-appliance
branch
from
April 22, 2026 09:36
7bc8e4b to
55c8364
Compare
Collaborator
💚 Build SucceededHistory
cc @mgadewoll |
Collaborator
💚 Build Succeeded
History
cc @mgadewoll |
mgadewoll
marked this pull request as ready for review
April 22, 2026 10:48
tkajtoch
self-requested a review
April 22, 2026 12:55
tkajtoch
approved these changes
Apr 22, 2026
tkajtoch
left a comment
Contributor
There was a problem hiding this comment.
Code changes look good. I tested the changes locally and can confirm that everything works as expected.
mgadewoll
added a commit
that referenced
this pull request
Apr 29, 2026
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.
Important
This PR merges into a feature branch
Summary
This PR updates
EuiListItemLayoutto fix the appliance of hover styles. Initially the styles were always applied, assuming that list items are always interactive or used asoptionwithin a listbox.While not that common, they can also be used as non-interactive list item via
EuiListGroup/EuiListGroupand for that we should not apply a hover style if the items are not actually interactive.API Changes
⚪ No API changes
Screenshots
Screen.Recording.2026-04-22.at.09.48.39.mov
Screen.Recording.2026-04-22.at.09.48.46.mov
Impact Assessment
Note: Most PRs should be tested in Kibana to help gauge their Impact before merging.
Impact level: 🟢 None
Release Readiness
Documentation: {link to docs page(s)}Figma: {link to Figma or issue}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
Checkout the PR (
EuiListItemLayoutis an internal component and not visible with controls in production storybook) and:EuiListItemLayoutwithelement=li/divwithoutonClickdon't have a hover style appliedEuiListItemLayoutwithelement=button/ahave a hover style appliedEuiListItemLayoutwithelement=li/divand an interactiverole(e.g. "link" or "button") have a hover style appliedChecklist before marking Ready for Review
QA: Tested in CodeSandbox and KibanaQA: Tested docs changesChangelog: Added changelog entryBreaking changes: Addedbreaking changelabel (if applicable)Reviewer checklist