-
Notifications
You must be signed in to change notification settings - Fork 375
chore(Wizard): updated demos to use new Wizard #8981
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Preview: https://patternfly-react-pr-8981.surge.sh A11y report: https://patternfly-react-pr-8981-a11y.surge.sh |
| title="Simple wizard in modal" | ||
| description="Simple wizard description" | ||
| steps={steps} | ||
| <Wizard |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codesandbox is warning me that there is a key problem in this Wizard:
Check the render method of `WizardToggle`. See https://fb.me/react-warning-keys for more information.
in Fragment (created by WizardToggle)
in WizardToggle (created by WizardInternal)
in WizardInternal (created by Wizard)
in div (created by Wizard)
in WizardContextProvider (created by Wizard)
in Wizard (at index.js:62)
in div (created by ModalBox)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and a second key problem:
Check the render method of `WizardNavInternal`. See https://fb.me/react-warning-keys for more information.
in WizardNavItem (created by WizardNavInternal)
in WizardNavInternal (created by WizardInternal)
in div (created by WizardToggle)
in div (created by WizardToggle)
in WizardToggle (created by WizardInternal)
in WizardInternal (created by Wizard)
in div (created by Wizard)
in WizardContextProvider (created by Wizard)
in Wizard (at index.js:62)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These warnings are appearing in all these demos - and are manifesting as the following error in the workspace:
Uncaught Error: Minified React error #423; visit https://reactjs.org/docs/error-decoder.html?invariant=423 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at Sl (5472.596e471a.bundle.js:2:3393845)
at bc (5472.596e471a.bundle.js:2:3381463)
at _c (5472.596e471a.bundle.js:2:3381391)
at mc (5472.596e471a.bundle.js:2:3381254)
at rc (5472.596e471a.bundle.js:2:3378061)
at oc (5472.596e471a.bundle.js:2:3376613)
at w (5472.596e471a.bundle.js:2:3429769)
at MessagePort.I (5472.596e471a.bundle.js:2:3430301)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like there was one WizardStep that I mistyped the id prop as just d, should be fixed in the latest push.
bff15ab to
955d209
Compare
|
Your changes have been released in:
Thanks for your contribution! 🎉 |
What: Closes #8867
Additional issues: