Skip to content

bug(autocomplete, select): should leave extra space when positioned above outlined form-field #27476

Open
@mmalerba

Description

@mmalerba

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

No response

Description

When the autocomplete or select is positioned above an outlined form-field (due to insufficient space on the bottom), it overlaps the label. Ideally we would add some additional space when positioning above so that the label is still legible.

Reproduction

StackBlitz link: https://stackblitz.com/edit/6pam3o
Steps to reproduce:

  1. Click inside form-field
  2. Observe that autocomplete overlaps the label

Expected Behavior

Label should be legible while select/autocomplete is open

Actual Behavior

select/autocomplete obscures label

Environment

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions