Skip to content

bug(Dialog): Footer not reachable in small screen size #27502

Open
@mazhar-fis

Description

@mazhar-fis

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

NA

Description

If we stack up the footer buttons (say 3 footer buttons), and reduce the screen size to small (say 500x300), the dialog content height does not adjust and cuts off the footer off-screen.
Not working
Working

Reproduction

StackBlitz link:
Steps to reproduce:

  1. Create a div in footer and stack up 3 footer buttons
  2. Reduce the screen size to 500x300
  3. https://stackblitz.com/edit/xfufqg?file=src%2Fexample%2Fdialog-content-example-dialog.html

Expected Behavior

Dialog content height should adjust and display full footer buttons

Actual Behavior

Footer gets cut off-screen

Environment

  • Angular:
  • CDK/Material: 16
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows

Activity

added
P4A relatively minor issue that is not relevant to core functions
and removed
needs triageThis issue needs to be triaged by the team
on Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: material/dialog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @wagnermaciel@mazhar-fis

        Issue actions

          bug(Dialog): Footer not reachable in small screen size · Issue #27502 · angular/components