Skip to content

Commit ef4fc56

Browse files
authored
fix(material/list): fix action-list focus state for high contrast firefox (#23584)
Fixes the focus state on the action-list for firefox in high-contrast mode. In firefox, the outline only renders on the top, right and left – not the bottom. This fixes the bottom of the outline being cut-off by setting the z-index of the focused list item to 1. fixes #23583
1 parent f8dc177 commit ef4fc56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/material/list/list.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ mat-action-list {
319319
mat-action-list .mat-list-item {
320320
&:hover, &:focus {
321321
outline: dotted 1px;
322+
z-index: 1;
322323
}
323324
}
324325

0 commit comments

Comments
 (0)