ngx-viewer icon indicating copy to clipboard operation
ngx-viewer copied to clipboard

*ngFor and ngxViewer is not working well together

Open elrondfeng opened this issue 3 years ago • 6 comments

I am using angular 12 and I have the following code. the issue is when I click on each image, nothing happens, no popup. However, if I remove *ngFor and manually put the image url in img tag, it works fine.

<div ngxViewer>
  <ng-container *ngFor="let display of image_displays">
    <img src="{{display.url}}" alt="img"/>
  </ng-container>
</div>

elrondfeng avatar Oct 10 '21 01:10 elrondfeng