FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(Wizard): allow dynamic step update by kmcfaul · Pull Request #10748 · patternfly/patternfly-react · GitHub

fix(Wizard): allow dynamic step update - #10748

Merged
dlabaj merged 1 commit into
patternfly:mainfrom
kmcfaul:wizard-dynamic-steps
Jul 16, 2024
Merged

fix(Wizard): allow dynamic step update#10748
dlabaj merged 1 commit into
patternfly:mainfrom
kmcfaul:wizard-dynamic-steps

Conversation

kmcfaul commented Jul 15, 2024
edited
Loading

Copy link
Copy Markdown
Contributor

What: Closes #9752

Adds two useEffect blocks to update steps when the initial children change, and reset the active step index when the children change.

This codesandbox from the issue can be pasted into one of our Wizard examples to verify the fix.

patternfly-build commented Jul 15, 2024
edited
Loading

Copy link
Copy Markdown
Collaborator

tlabaj requested review from a team, thatblindgeye and tlabaj and removed request for a team July 15, 2024 21:03

thatblindgeye left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Not blocking to get it in for this PR, but might be good to have some test(s) for this behavior. If anything we can create a followup to keep it in mind.

dlabaj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug - Wizard - Odd behavior when updating steps

4 participants


Back | FazBrowse Home | New Git URL