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
Do I need to make any other change (besides switching decorator name @ViewChild to @ContentChild and importing ContentChild)? Now I get undefined logged to the console even if I move the <video> out of <md-tab-group>
@jelbourn I noticed that this issue has not be added to alpha.8. Just wanted to note that this has still not been resolved as of Angular 2 rc 5 and Material 2 alpha 7-4
Open this plunker, go to AppComponent and take a look at the console.
Angular 2 rc.6 with ng-Material 2 alpha 8-1 still has this bug. Removing the <template> tag around the @ViewChild target gets the reference to work but of course breaks the tabs.
Same issue on Angular 2.0.0 and Material 2.0.0-alpha.9-3.
Spent one hour looking for this issue :( Ill switch to another theme for now. Better to wait until its out of alpha :)
Activity
aminebizid commentedon May 29, 2016
I think i't better with @ContentChild
Chears
RoxKilly commentedon May 29, 2016
Do I need to make any other change (besides switching decorator name
@ViewChildto@ContentChildand importingContentChild)? Now I getundefinedlogged to the console even if I move the<video>out of<md-tab-group>jelbourn commentedon May 31, 2016
@RoxKilly your initial example is correct in using
@ViewChildand not@ContentChild. We'll look into it.RoxKilly commentedon Sep 2, 2016
@jelbourn I noticed that this issue has not be added to
alpha.8. Just wanted to note that this has still not been resolved as ofAngular 2 rc 5andMaterial 2 alpha 7-4Open this plunker, go to
AppComponentand take a look at the console.RoxKilly commentedon Sep 3, 2016
Angular 2 rc.6withng-Material 2 alpha 8-1still has this bug. Removing the<template>tag around the@ViewChildtarget gets the reference to work but of course breaks the tabs.fmoessle commentedon Oct 7, 2016
I have the same problem with angular 2.0.1.
z639 commentedon Oct 7, 2016
Me too, why is no one assigned to this ?
Are people under the impression that is has been fixed ?
aecz commentedon Nov 2, 2016
Same issue on Angular 2.0.0 and Material 2.0.0-alpha.9-3.
Spent one hour looking for this issue :( Ill switch to another theme for now. Better to wait until its out of alpha :)
jelbourn commentedon Nov 2, 2016
This was fixed by #1645, which will be part of alpha.10
angular-automatic-lock-bot commentedon Sep 5, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.