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

Using nzLeft/nzRight in ng-template not working when used in ngTemplateOutlet #5179

Closed
renzabergos opened this issue Apr 29, 2020 · 1 comment

Comments

@renzabergos
Copy link

Reproduction link

https://stackblitz.com/edit/angular-cdyoxq?file=src%2Fapp%2Fapp.component.ts

Steps to reproduce

  • move horizontal scroll from left to right

What is expected?

nzLeft/nzRight directives that are added in <td> inside an ng-template must also reflect when used in the ng-container's *ngTemplateOutlet

What is actually happening?

nzLeft and nzRight are ignored.

Environment Info
ng-zorro-antd 9.1.0
Browser Chrome 81.0.4044.122 - Mac OS

I am using actually using the ng-template from another component, but the issue can be replicated as seen in the link.

@vthinkxie
Copy link
Member

vthinkxie commented Apr 29, 2020

there is no method to get component inside the ng-template with ContentChildren with current design of angular now, so we can not support this feature

blocked by angular/angular#8563

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

No branches or pull requests

2 participants