[ADF-2892] Sidenav now prevents closing itself when ESC key is pressed (#3302)

* [ADF-2892] Sidenav now closes when clicking outside of it

* [ADF-2892] Sidevan now prevents closing itself when ESC key is pressed
This commit is contained in:
davidcanonieto
2018-05-10 17:33:31 +01:00
committed by Eugenio Romano
parent c1a8d60ac1
commit 8413bf2183

View File

@@ -1,6 +1,6 @@
<mat-sidenav-container>
<mat-sidenav
[disableClose]="true"
[disableClose]="!isMobileScreenSize"
[ngClass]="{ 'sidenav--hidden': hideSidenav }"
[@sidenavAnimation]="sidenavAnimationState"
[opened]="!isMobileScreenSize"