[LHDM-1818] Pass backdropClickExits to NativeDialog from Drawer
Summary
- Passing
backdropClickExitstoNativeDialogfromDrawerto allow usage of the prop fromDrawer/HelpDrawer. These changes are to support requests from stakeholders to implement a drawer similar to Medicare.gov's (with its modified functionality). Our team has currently patched in this change in order to move ahead with that implementation. - https://jira.cms.gov/browse/LHDM-1818
How to test
yarn storybook- Value for
backdropClickExitsandhasFocusTrapprops allows the behavior in theDrawerexample.
Checklist
- [x] Prefixed the PR title with the Jira ticket number as
[WNMGDS-####] Titleor [NO-TICKET] if this is unticketed work. - [x] Selected appropriate
Type(only one) label for this PR, if it is a breaking change, label should only beType: Breaking - [x] Selected appropriate
Impacts, multiple can be selected.
If this is a change to code:
- [ ] Created or updated unit tests to cover any new or modified code
- [x] If necessary, updated unit-test snapshots (
yarn test:unit:update) and browser-test snapshots (yarn test:browser:update)
If this is a change to documentation:
- [x] Checked for spelling and grammatical errors
@pwolfert Just wanted to bump this PR for possible inclusion in v12. Having this change would allow us to remove one of our patches.
@seesleestak, I know the patches aren't a pretty thing, but we're not yet ready to merge this until we get a final word about the pattern from our stakeholders. We'll continue to discuss this.
Understood, thanks for the update
Hey there, I wanted to follow up on this change. Has any determination been made about it?
👀 Thanks for making the required storybook updates 👍 Is this able to be merged whenever or do you need me to hold off?
Go ahead and merge it, @seesleestak! You're clear to launch.