Skip to content

bug(mat-dialog): element with fixed position jumps when dialog opens. #23851

Open
@liesahead

Description

@liesahead

Reproduction

Use StackBlitz to reproduce your issue:

Steps to reproduce:

  1. Just open dialog which contains element with fixed position inside it.

Expected Behavior

Element is positioned correctly when dialog opens.

Actual Behavior

Element jumps from one position to correct one.
fixed_element_jump_in_dialog

Environment

  • Angular: in stackblitz link
  • CDK/Material: in stackblitz link
  • Browser(s): Chrome v94
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows 10 latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: cdk/overlay

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions