Bug Report
On elements with ngClass, the media observers misbehave when printing. For example, if I have...
<p class="text-left" ngClass.lt-sm="text-center">Some text here</p>
...When I press Ctrl + P to print the page, then return, the text is centered (even though the screen size is still 1920px).
What is the expected behavior?
ngClass.lt-sm should be removed when printing is complete
What is the current behavior?
ngClass.lt-sm remains applied
What are the steps to reproduce?
What is the use-case or motivation for changing an existing behavior?
The screen looks incorrect when printing completes
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
I have tested in the latest Angular 8 and 9 releases with FlexLayout 8.0.0-beta.27 and 9.0.0-beta.29 respectively.
Is there anything else we should know?
Bug Report
On elements with ngClass, the media observers misbehave when printing. For example, if I have...
<p class="text-left" ngClass.lt-sm="text-center">Some text here</p>...When I press Ctrl + P to print the page, then return, the text is centered (even though the screen size is still 1920px).
What is the expected behavior?
ngClass.lt-sm should be removed when printing is complete
What is the current behavior?
ngClass.lt-sm remains applied
What are the steps to reproduce?
What is the use-case or motivation for changing an existing behavior?
The screen looks incorrect when printing completes
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
I have tested in the latest Angular 8 and 9 releases with FlexLayout 8.0.0-beta.27 and 9.0.0-beta.29 respectively.
Is there anything else we should know?