Skip to content

bug(dialog): v21 dialog.open config does not accept a usePopover: false to be passed down to the overlay config #32592

@urielzen

Description

@urielzen

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

v20

Description

A breaking change in v21 with the introduction of popover default to true to the Overlays is preventing us to migrate, since the dialog configuration does not accept a usePopover property.

Reproduction

Steps to reproduce:

  1. create a dialog with dialog.open(Component, config)

Expected Behavior

The config passed to the dialog.open functions should accept a usePopover property to override the new true default value to false.

Actual Behavior

The created dialog will have the new popover attribute and added to the top layer in the DOM

Environment

  • Angular: 21
  • CDK/Material: 21
  • Browser(s): chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs 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