Skip to content

bug(Mat Select): Panel height is changed unexpectedly #32771

@yinghuip

Description

@yinghuip

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

19

Description

Select panel height is changed unexpectedly when scroll out and back into view

Reproduction

StackBlitz link: https://stackblitz.com/edit/kjhntedr-dodu7m9i?file=src%2Fexample%2Fselect-overview-example.html

Steps to reproduce:

  1. Open Select's panel
  2. Scroll downward till panel is out of view
  3. Scroll back to view panel
  4. Select panel height is changed unexpectedly

Expected Behavior

Select panel height should remain when scroll out and back into view

Actual Behavior

Select panel height is changed unexpectedly when scroll out and back into view

Environment

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

Metadata

Metadata

Assignees

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