Open
Description
Reproduction
Use StackBlitz to reproduce your issue:
Official Demo shows this issue.
https://run.stackblitz.com/api/angular/v1?file=app%2Fchips-autocomplete-example.ts
This example starts showing a Lemon in the autocomplete component.
Steps to reproduce:
- Click in the Input of Autocomplete, next to the Lemon matchip
- It properly shows the List associated
- Click in an Option of the List, i.e "Apple". The mat-chip is added next to "Lemon".
- Click in the Input of Autocomplete. Now it does not show the "List", as you would expect and as it did in step 2, which breaks the UIX.
- Click outside the component (it loses the Focus)
- Click again the Input field: it receives the Focus and the List is again shown.
Expected Behavior
What behavior were you expecting to see?
Users expect that clicking in the Input field would show them the List of options again, as it did in the very beginning without needing to use the "hackish" click out-and-in.
Actual Behavior
What behavior did you actually see?
If a Mat-chip is added, the user needs to focus out and then click to set the Focus in, in order to have the List shown.
Environment
- Angular: 8.1.0
- CDK/Material: Material 8.0.2
- Browser(s): Chrome, Safari, Firefox
- Operating System (e.g. Windows, macOS, Ubuntu): Windows, Ubuntu, MacOS