Skip to content

bug(stepper): customized states does not show custom icon when state becomes active #21998

@dexster

Description

@dexster

Reproduction

Use the second "Stepper with customized states" state example on your site which should show custom icons
Stepper examples

Steps to reproduce:

  1. On initial load the edit icon is shown
  2. Click the edit icon and it changes to the custom icon
  3. Click Step 2 and it changes to the edit icon
  4. Click Step 2 again and it changes to the custom icon

Expected Behavior

Always show the custom icon when step is active. Do not show the edit icon initially

Actual Behavior

Clicking the active icon switches the icon form edit to custom

Environment

Your example site

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/stepper

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions