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

Avatar in list duplicate #4912

Closed
whittssg opened this issue Mar 19, 2020 · 1 comment · Fixed by #4952
Closed

Avatar in list duplicate #4912

whittssg opened this issue Mar 19, 2020 · 1 comment · Fixed by #4952
Assignees

Comments

@whittssg
Copy link

whittssg commented Mar 19, 2020

Reproduction link

https://wyquff.run.stackblitz.io/

Steps to reproduce

Add the following nz-list-item-meta to the nz-list-item

 <nz-list-item-meta [nzAvatar]="nzAvatar" [nzTitle]="nzTitle" [nzDescription]="nzDescription">
    <ng-template #nzTitle>
      {{item.title}}  
    </ng-template>
    <ng-template #nzDescription>
      {{item.description}}    
    </ng-template>
    <ng-template #nzAvatar>
      <nz-avatar nzSize="default" nzText="Test" style="border: 1px #36cfc9 solid;background-color:transparent;color:darkgrey;"></nz-avatar>
    </ng-template>
  </nz-list-item-meta>

What is expected?

Avatar should not be duplicated

What is actually happening?

Avatar is duplicated

Environment Info
ng-zorro-antd 9.0.0-beta.1
Browser Chrome latest

Could not get beta1 stackblitz examples to work so put in the default link

@whittssg
Copy link
Author

image

hsuanxyz added a commit to hsuanxyz/ng-zorro-antd that referenced this issue Mar 30, 2020
Ricbet pushed a commit to Ricbet/ng-zorro-antd that referenced this issue Apr 9, 2020
@hsuanxyz hsuanxyz mentioned this issue Apr 15, 2020
hsuanxyz added a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants