vue-simple-lightbox icon indicating copy to clipboard operation
vue-simple-lightbox copied to clipboard

Error at change images

Open jstr14 opened this issue 7 years ago • 0 comments

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

jstr14 avatar Apr 12 '18 15:04 jstr14