Skip to content

bug(Dialog): Scrolled sticky elements disappear in Firefox after opening Dialog #23354

Open
@dkimmich-onventis

Description

@dkimmich-onventis

Reproduction

https://stackblitz.com/edit/angular-f9cnkz?file=src%2Fapp%2Fdialog-overview-example.ts

Steps to reproduce:

  1. Place a sticky element in the application
  2. Make application scrollable
  3. Open the application in Firefox
  4. Scroll to the bottom
  5. Open a dialog

Expected Behavior

The sticky element is still displayed in the background (like it does in Chrome)

angular-material-dialog-chrome

Actual Behavior

The sticky element disappears, and re-appears after closing the dialog

angular-material-dialog-firefox

Environment

  • Angular: 12.2.1
  • CDK/Material: 12.2.1
  • Browser(s): Firefox
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: cdk/overlayfirefoxThis issue is specific to the Firefox browser

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions