-
Notifications
You must be signed in to change notification settings - Fork 376
fix(Modal): Various bug fixes V5 #11168
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-11168.surge.sh A11y report: https://patternfly-react-pr-11168-a11y.surge.sh |
|
I'm a little confused by the test examples' text and want to confirm that we should not be seeing I think both behaviors make sense but want to make sure I'm not misunderstanding. If they are correct, then this PR LGTM. |
|
@kmcfaul the example are directly copied from the code sandbox in the issue. SO the text in the example talks about the bug that was fixed. I agree that is confusing. I can update it. |
kmcfaul
left a comment
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.
lgtm, just needs the test example removed
mcoker
left a comment
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.
🚀
|
Your changes have been released in:
Thanks for your contribution! 🎉 |
What: Closes #11041
This fixes:
aria-hidden = truewhen inStrictModearia-hidden = trueincorrectly removedappendToprop.I also added
.historyto the eslint ignore.The test example can be used to test out the Modal changes here and the Modal Next changes here. You can compare the examples with the original issue in the code sandbox that was provided by the reporter https://codesandbox.io/s/withered-frog-qc67dn?file=/index.js
cc @christianvogt
TODO:
- Make the same changes to the Modal next