mat-sidenav opened property does not open until second click using | async #14823
Labels
area: material/sidenav
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
What is the expected behavior?
Sidenav should automatically open on the first click
What is the current behavior?
It takes a second click to open the sidenav or manually calling
cdr.detectChanges();
If OnPush is disabled in component that is composing the sidenav view it it will open on the first click.What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
Material v6: https://stackblitz.com/edit/angular-hekkz3
Material v7: https://stackblitz.com/edit/angular-hekkz3-yiz67k
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Error appears to happen in all browsers and in material 6.1.0 and latest version
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: