Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/cdk/a11y/key-manager/list-key-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ export class ListKeyManager<T extends ListKeyManagerOption> {

/** Sets the active item to the last enabled item in the list. */
setLastItemActive(): void {
this._setActiveItemByIndex(this._items.length - 1, -1);
this._setActiveItemByIndex(this._getItemsArray().length - 1, -1);
}

/** Sets the active item to the next enabled item in the list. */
Expand Down