Is this a regression?
The previous version in which this bug was not present was
CDK/material: "19.0.5"
Description
unexpected behavior calling the close() method on mat-select. it emits openedChange event with value "true"
Reproduction
StackBlitz link: https://stackblitz.com/edit/oirpsfkv?file=src%2Fexample%2Fselect-disabled-example.html,src%2Fexample%2Fselect-disabled-example.ts,package.json
(forked from Material Docs)
Steps to reproduce:
Open the console.
Click on the mat-select.
Observe the console logs — after a single click, multiple open and close events are fired.
Expected Behavior
After one click, there should only be two logs: one open and one close.
Actual Behavior
Multiple open and close logs appear after a single click.
Environment
Angular: 19.2.20
CDK/Material: 19.2.19
Browser(s): Chrome, Firefox
Operating System (e.g. Windows, macOS, Ubuntu): Windows 11
Is this a regression?
The previous version in which this bug was not present was
CDK/material: "19.0.5"
Description
unexpected behavior calling the close() method on mat-select. it emits openedChange event with value "true"
Reproduction
StackBlitz link: https://stackblitz.com/edit/oirpsfkv?file=src%2Fexample%2Fselect-disabled-example.html,src%2Fexample%2Fselect-disabled-example.ts,package.json
(forked from Material Docs)
Steps to reproduce:
Open the console.
Click on the mat-select.
Observe the console logs — after a single click, multiple open and close events are fired.
Expected Behavior
After one click, there should only be two logs: one open and one close.
Actual Behavior
Multiple open and close logs appear after a single click.
Environment
Angular: 19.2.20
CDK/Material: 19.2.19
Browser(s): Chrome, Firefox
Operating System (e.g. Windows, macOS, Ubuntu): Windows 11