bug(MatAutoComplete): optionActivated is invoked with the first item when ESC is pressed #23430
Labels
area: material/autocomplete
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Reproduction
https://stackblitz.com/edit/angular-nfavep?file=src%2Fapp%2Fautocomplete-auto-active-first-option-example.html
Steps to reproduce:
Expected Behavior
The optionActivated option should not be invoked when the ESC key is pressed to close the auto complete
Actual Behavior
The optionActivated option is invoked when it shouldn't be since the the auto complete is closing
Environment
The text was updated successfully, but these errors were encountered: