Skip to content

Commit fb41b85

Browse files
committed
feat(material-expeirmental/mdc-list): add support for focus/hover states
and ripples
1 parent e408228 commit fb41b85

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/material-experimental/mdc-list/action-list.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@ import {MatListBase} from './list-base';
2323
{provide: MatListBase, useExisting: MatActionList},
2424
]
2525
})
26-
export class MatActionList extends MatListBase {}
26+
export class MatActionList extends MatListBase {
27+
_hasRipple = true;
28+
}

src/material-experimental/mdc-list/nav-list.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,6 @@ import {MatListBase} from './list-base';
3333
{provide: MatList, useExisting: MatNavList},
3434
]
3535
})
36-
export class MatNavList extends MatListBase {}
36+
export class MatNavList extends MatListBase {
37+
_hasRipple = true;
38+
}

0 commit comments

Comments
 (0)