Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Templating causes the breadcrumbs to not render #4

Open
cha55son opened this issue Dec 23, 2017 · 0 comments
Open

Templating causes the breadcrumbs to not render #4

cha55son opened this issue Dec 23, 2017 · 0 comments

Comments

@cha55son
Copy link

The following will cause the breadcrumbs to not display:

<div *ngIf="someTrueValue">
    <mc-breadcrumbs></mc-breadcrumbs>
</div>

The workaround is to use the hidden attribute:

<div [hidden]="!someTrueValue">
    <mc-breadcrumbs></mc-breadcrumbs>
</div>

I'm guessing the issue lies with the breadcrumbs being within a template but I haven't dug in far enough to know for sure. I've only used the *ngIf but I would guess that the issue would be present within any template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant