We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e61c2fa commit 0b436c4Copy full SHA for 0b436c4
src/cdk/a11y/key-manager/list-key-manager.ts
@@ -73,7 +73,7 @@ export class ListKeyManager<T extends ListKeyManagerOption> {
73
if (newIndex !== this._activeItemIndex) {
74
// Timeout is required to avoid "changed after checked" errors.
75
setTimeout(() => {
76
- this.updateActiveItem(newIndex > -1 ? newIndex : this._activeItemIndex);
+ this.setActiveItem(newIndex > -1 ? newIndex : this._activeItemIndex);
77
}, 0);
78
}
79
0 commit comments