Skip to content

bug(mat-stepper): cdk-keyboard-focused class is not getting applied on stepper steps when navigating through keyboard arrow keys #26210

Closed
@nehaGI

Description

@nehaGI

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

let say have 3 steps in mat-stepper and focus is on first element and then i navigate through keyboard arrow key and focus moves to next step but cdk-keyboard-focused class do not get adds on this step(ideally since the navigating is being happened from keyboard arrow key so cdk-keyboard-focused class should get added on it)

image

Reproduction

Steps to reproduce:
1.
2.

Expected Behavior

image

Actual Behavior

image

Environment

  • Angular:
  • CDK/Material:
  • Browser(s):
  • Operating System (e.g. Windows, macOS, Ubuntu):

Metadata

Metadata

Assignees

Labels

P4A relatively minor issue that is not relevant to core functionsarea: cdk/stepper

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions