Skip to content

Error at change images #12

@jstr14

Description

@jstr14

Hello,

I'm using this vue component but I find one problem at change images. In my case I have a child component with a view detail. This view detail has the lightbox.

When I change click on other component of the parent I change the view detail component and images are different. The preview of them works fine but when I click any one I can navigate beyond the previous images. The lightbox keep the them.

A concrete example is I have two objects one of them with 7 images and the other with 2. When I show the first object lightbox works fine. At click the second object I see two images and when I click one of them I see that I can navigate between this 2 photos and 5 photos of the first object.

If I close my child component that contains lightbox and reload It, It works fine.

Can you tell me how to solve this problem.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions