Skip to content

Commit b0ce20f

Browse files
committed
fix(material-experimental/mdc-list): update material-components-web to pick up multi-select list keyboard support
1 parent 9388ccb commit b0ce20f

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

packages.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# all in-sync. This map is passed to each ng_package rule to stamp out the appropriate
33
# version for the placeholders.
44
ANGULAR_PACKAGE_VERSION = "^13.0.0 || ^14.0.0-0"
5-
MDC_PACKAGE_VERSION = "14.0.0-canary.7d8ea4624.0"
5+
MDC_PACKAGE_VERSION = "14.0.0-canary.9736ddce9.0"
66
TSLIB_PACKAGE_VERSION = "^2.3.0"
77
RXJS_PACKAGE_VERSION = "^6.5.3 || ^7.4.0"
88

src/material-experimental/mdc-list/interactive-list-base.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ export abstract class MatInteractiveListBase<T extends MatListItemBase>
8585
protected _initWithAdapter(adapter: MDCListAdapter) {
8686
this._adapter = adapter;
8787
this._foundation = new MDCListFoundation(adapter);
88-
this._foundation.setDisabledItemsFocusable(false);
8988
}
9089

9190
ngAfterViewInit() {

src/material-experimental/mdc-list/selection-list.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ describe('MDC-based MatSelectionList without forms', () => {
345345
const event = dispatchKeyboardEvent(listOptions[2].nativeElement, 'keydown', HOME);
346346
fixture.detectChanges();
347347

348-
expect(getFocusIndex()).toBe(1); // Skips 0th item because it is disabled.
348+
expect(getFocusIndex()).toBe(0);
349349
expect(event.defaultPrevented).toBe(true);
350350
});
351351

0 commit comments

Comments
 (0)