diff --git a/lib/core/sidenav-layout/components/layout-container/layout-container.component.ts b/lib/core/sidenav-layout/components/layout-container/layout-container.component.ts index da09f949a0..8370e2eb17 100644 --- a/lib/core/sidenav-layout/components/layout-container/layout-container.component.ts +++ b/lib/core/sidenav-layout/components/layout-container/layout-container.component.ts @@ -28,7 +28,10 @@ import { sidenavAnimation, contentAnimation } from '../../helpers/animations'; export class LayoutContainerComponent implements OnInit, OnDestroy { @Input() sidenavMin: number; @Input() sidenavMax: number; - @Input() mediaQueryList: MediaQueryList; + + // " | any", because Safari throws an error otherwise... + @Input() mediaQueryList: MediaQueryList | any; + @Input() hideSidenav = false; @Input() expandedSidenav = true;