Skip to content

Commit

Permalink
Revert "fix(material/list): fix duplicate focus with chromevox on act…
Browse files Browse the repository at this point in the history
…ion-list items (#23361)"

This reverts commit 8182b35.
  • Loading branch information
mmalerba authored Jan 25, 2022
1 parent 84d90c6 commit b52eb6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/material/list/list-item.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<span class="mat-list-item-content">
<span class="mat-list-item-ripple" mat-ripple
<div class="mat-list-item-content">
<div class="mat-list-item-ripple" mat-ripple
[matRippleTrigger]="_getHostElement()"
[matRippleDisabled]="_isRippleDisabled()">
</span>
</div>

<ng-content select="[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]">
</ng-content>

<span class="mat-list-text"><ng-content select="[mat-line], [matLine]"></ng-content></span>
<div class="mat-list-text"><ng-content select="[mat-line], [matLine]"></ng-content></div>

<ng-content></ng-content>
</span>
</div>
1 change: 0 additions & 1 deletion src/material/list/list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ $item-inset-divider-offset: 72px;
}

.mat-list-item-ripple {
display: block;
@include layout-common.fill;

// Disable pointer events for the ripple container because the container will overlay the
Expand Down

0 comments on commit b52eb6f

Please sign in to comment.