-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix(list): fix role for list-item #8767
Conversation
src/lib/list/list.ts
Outdated
@@ -134,6 +134,7 @@ export class MatListItem extends _MatListItemMixinBase implements AfterContentIn | |||
CanDisableRipple { | |||
private _lineSetter: MatLineSetter; | |||
private _isNavList: boolean = false; | |||
role: string | null = null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this one be underscored?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Thanks for review
8728ed7
to
63a04b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
bfec9b6
to
805275e
Compare
805275e
to
4c19bc6
Compare
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
The role for
mat-list-item
should not be set. User ofmat-list-item
should set the role.