Skip to content

[Dialog, AlertDialog] Fix the nesting of different dialogs#1167

Merged
mnajdova merged 7 commits into
mui:masterfrom
mnajdova:feat/dialog
Dec 19, 2024
Merged

[Dialog, AlertDialog] Fix the nesting of different dialogs#1167
mnajdova merged 7 commits into
mui:masterfrom
mnajdova:feat/dialog

Conversation

@mnajdova

@mnajdova mnajdova commented Dec 18, 2024

Copy link
Copy Markdown
Member

Fixes #1165

The idea is to use common context between all dialog components. I extracted only the common things inside this context.

@mnajdova mnajdova added component: alert dialog Changes related to the alert dialog component. component: dialog Changes related to the dialog component. labels Dec 18, 2024
@mui-bot

mui-bot commented Dec 18, 2024

Copy link
Copy Markdown

Netlify deploy preview

https://deploy-preview-1167--base-ui.netlify.app/

Generated by 🚫 dangerJS against 176dffa

@colmtuite colmtuite requested a review from vladmoroz December 18, 2024 15:54
Comment thread packages/react/src/alert-dialog/root/AlertDialogRootContext.ts Outdated
Signed-off-by: Marija Najdova <mnajdova@gmail.com>
@mnajdova mnajdova marked this pull request as ready for review December 18, 2024 16:07
@mnajdova mnajdova merged commit 178a7e3 into mui:master Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: alert dialog Changes related to the alert dialog component. component: dialog Changes related to the dialog component.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[dialog] Nested alert dialogs aren't recognised as nested dialogs and vice versa

3 participants