Skip to content

*ngFor and ngxViewer is not working well together  #13

@elrondfeng

Description

@elrondfeng

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions