-
Notifications
You must be signed in to change notification settings - Fork 395
feat(ComposedModal): support selectorPrimaryFocus prop #1634
feat(ComposedModal): support selectorPrimaryFocus prop #1634
Conversation
Deploy preview for carbon-components-react ready! Built with commit 972a500 https://deploy-preview-1634--carbon-components-react.netlify.com |
Related to focus, would we ever want to have our patterns follow what we do in UI Shell: e.g. basically make it so that children need to support a |
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.
Great effort getting two flavors of modals in sync @emyarod! Great if some tests can be added - Thanks!
docs(ComposedModal): add selectorPrimaryFocus knob
1aa4fe5
to
368bf79
Compare
sure, I have updated with some test cases for |
Thanks you for adding the tests @emyarod! |
🎉 This PR is included in version 6.61.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Closes IBM/carbon-components-react#1623
This PR adds support for the
selectorPrimaryFocus
prop on<ComposedModal>
to match<Modal>
and<ModalWrapper>
Related: #980 #1124 #1621 #1633
Changelog
New
<Modal>
)<ComposedModal>
s using<ModalFooter>
<ComposedModal>
with trigger buttonChanged
<Modal>
methods before they are called