patternfly / patternfly/patternfly-react
Bug - [Wizard] - Get current step examples breaks
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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