Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Custom Show/Hide directive not working under AOT #792

@bschantz

Description

@bschantz

Bug Report

What is the expected behavior?

Elements having the custom fxHide.print directive will be hidden when @media print is active, and behavior will be consistent whether compiled with JIT or AOT.

What is the current behavior?

Elements are properly hidden when compiled with JIT, but not when compiled with AOT.

What are the steps to reproduce?

Working stackblitz here: https://stackblitz.com/edit/flex-layout-show-hide

Repo for reproducing w/AOT: https://github.com/bschantz/aot-showhide

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

angular cli 6.0.8
angular 6.0.7
material 6.3.2
flex-layout 6.0.0-beta.16
typescript 2.7.2
Chrome for Windows 67.0.3396.99 (Official Build) (64-bit)

Metadata

Metadata

Labels

P2Issue that is important to resolve as soon as possiblebugcan be closed?custom breakpointsIssues with Custom Breakpoint configuration and usein-progress

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions