patternfly / patternfly/patternfly-react

Bug - [Wizard] - Get current step examples breaks

Open
#11,665 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Stale
Dominant language
TypeScript
Stars
862
Forks
392
Avg merge
4d 8h
Merged PRs (30d)
9

Description

Describe the problem
When clicking on Step 4 the get current step example breaks and throws the following error on the website
TypeError: Cannot read properties of undefined (reading 'status')

How do you reproduce the problem?
Go to https://www.patternfly.org/components/wizard/#get-current-step, click on Step 4 in the example

Screenshots

https://github.com/user-attachments/assets/29913289-6612-4f6c-84a6-89fa79c98d0d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the Wizard documentation at https://www.patternfly.org/components/wizard/#get-current-step and reproduce the issue by clicking Step 4 in the example. Trace the get-current-step example and its current-step handling to find why the example throws when reading status. Done means Step 4 renders without the TypeError and the example continues to show the current step correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.