Skip to content

AlertDialog: host container and dismissal lock while an action is pending #544

Closed

Description

@egdev6

Follow-up of #539 (Consumer request from Recado).

Need

  • Nested confirmations: a confirmation opened from a host-scoped sheet renders inside the same host, above the sheet's own chrome.
  • Pending actions: while an action is pending, the dialog cannot be dismissed, including from its built-in close button.

Current API (main bb2530b)

  • AlertDialog's portal takes no container (packages/ui/src/molecules/alert-dialog/AlertDialog.tsx:56).
  • The Dialog close button can't be disabled (Dialog.tsx:51). A controlled open can only ignore close requests.

Scope

This needs a spec before implementation. It should cover:

  • AlertDialogContent container, following the existing portal-container entry in skills/_shared/prop-naming.json;
  • a dialog-wide pending or dismissal-lock state (no existing naming entry matches; loading is per-control);
  • the Radix portal and modality implications.

Opt-in, not breaking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions