We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fca6d7a commit d9c8813Copy full SHA for d9c8813
src/cdk/a11y/key-manager/list-key-manager.ts
@@ -366,7 +366,7 @@ export class ListKeyManager<T extends ListKeyManagerOption> {
366
367
/** Sets the active item to the last enabled item in the list. */
368
setLastItemActive(): void {
369
- this._setActiveItemByIndex(this._items.length - 1, -1);
+ this._setActiveItemByIndex(this._getItemsArray().length - 1, -1);
370
}
371
372
/** Sets the active item to the next enabled item in the list. */
0 commit comments