You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flex-Layout (beta.8) expects a Renderer2 with function ::setStyle() to injected.
Using M2 (beta.5) with the following setup, a Renderer::setElementStyle() is incorrectly injected.
This appears to be related to the way that M2 handles <ng-template>:
<md-tab-group><md-tab><ng-templatemd-tab-label><spanfxShow>tab 1 with fxShow</span></ng-template><md-cardfxFlex><md-card-headerclass="md-primary"><b>social identity</b></md-card-header><md-card-content>
hello world 1
</md-card-content></md-card></md-tab><md-tablabel="Password" *ngIf='true'><md-cardfxFlex><md-card-headerclass="md-primary"><b>Local identity</b></md-card-header><md-card-content>
hello world 2
</md-card-content></md-card></md-tab></md-tab-group>
When the fxShow used inside the <ng-template> is removed, then errors no longer manifest.
The text was updated successfully, but these errors were encountered:
ThomasBurleson
changed the title
DI injects wrong Renderer with Tabs + Flex-Layout
DI injects wrong Renderer when using Tabs + Flex-Layout
May 21, 2017
Bug, feature request, or proposal:
Flex-Layout (beta.8) expects a Renderer2 with function ::setStyle() to injected.
Using M2 (beta.5) with the following setup, a Renderer::setElementStyle() is incorrectly injected.
This appears to be related to the way that M2 handles
<ng-template>
:Here is a Plunkr Demo
Refs angular/flex-layout#270
The text was updated successfully, but these errors were encountered: