Closed
Description
What is the expected behavior?
Autocomplete should emit opened on first and every opening of the panel when options are generated asynchronous.
What is the current behavior?
Autocomplete doesn't emit opened when opened first time.
What are the steps to reproduce?
https://stackblitz.com/edit/autocomplete-asyc-bug
Click in the field and wait about 3 seconds. The panel opens but event is not emitted. It will be emitted on the subsequent openings.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 7.2 Material 7.35 (Also occurs on Angular 6)
Is there anything else we should know?
I think it is because panel doesn't have any options at the beginning so it doesn't emit event.