Skip to content

cdkStepper error #13928

Description

Bug, feature request, or proposal:

Bug

What is the current behavior?

Error message when using cdkStepper.

ERROR TypeError: Cannot read property '0' of undefined
at FocusKeyManager.push../node_modules/@angular/cdk/esm5/a11y.es5.js.ListKeyManager.updateActiveItem

What are the steps to reproduce?

<div cdkStepper>
<cdk-step label="Step 1" [stepControl]="someformGroup">
<button cdkStepperPrevious mat-button color="primary">Previous</button>
<button cdkStepperNext mat-button color="primary">Next</button>
</cdk-step>
</div>

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

@angular/material 7.0.2
@angular/cdk 7.0.2

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions