Skip to content

bug(MatSelect): Mat select not able to handle long text in the dropdown correctly #28778

Open
@mrjihai

Description

@mrjihai

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

Used to work in version 13

Description

The mat select not able to handle long text in the dropdown correctly in Angular 17.

Reproduction

StackBlitz link:
Steps to reproduce:

  1. Set a long text value in mat-option
    2.Click the select and check the value in dropdown

Expected Behavior

WeChatee3ee209e851c46bea0de111925bb7ca

Actual Behavior

WeChat439687c91e2348d09b526bf56607f17b

Environment

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/select

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions