Skip to content

bug(Dialog with Sweetalert2): open swal in dialog, swal behind the dialog #32916

@AnajakS

Description

@AnajakS

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

bug in angular 21+

Description

open swal in dialog, swal behind the dialog

Reproduction

StackBlitz link: https://stackblitz.com/edit/stackblitz-starters-vdn3hwpx?file=src%2Fapp%2Fapp.component.ts
Steps to reproduce:
1.click button to open adialog
2.click button to open Swal

Expected Behavior

The swal bust be front off dialog work as expected.

Actual Behavior

The swal behind dialog work as expected.

Environment

Angular: 21.1.3
CDK/Material: 21.1.3
sweetalert2: 11.26.22
Browser(s): Chrome, Edge
Operating System (e.g. Windows, macOS, Ubuntu): Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: material/dialoggemini-triagedLabel noting that an issue has been triaged by geminineeds triageThis issue needs to be triaged by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions