slick-lightbox icon indicating copy to clipboard operation
slick-lightbox copied to clipboard

Slick Lightbox shows first image after carousel cycle through

Open jonhicksdesign opened this issue 4 years ago • 1 comments

I have a problem with the Slick Lightbox. I'm using Slick Slider on variable width and infinite scroll and when it loops through once and the first image is shown again the Lightbox shows the first image for everything to the right of it. But the images to the left show the correct image in Lightbox. Below is my script.js code

$(document).ready(function(){ $('.slider-area').slick({ dots: false, accessibility: true, arrows: true, infinite: true, speed: 1500, centerMode: false, slidesToShow: 10, slidesToScroll: 7, variableWidth: true, touchMove: true, useCSS: true, cssEase: 'ease' }); });

$(document).on('ready', function() { $('.slider-area').slickLightbox({ src: 'src', itemSelector: '.pic img',

});

});

jonhicksdesign avatar Jan 31 '21 22:01 jonhicksdesign

@jonhicksdesign have you found a solution?

BlackKiwi89 avatar Nov 10 '21 09:11 BlackKiwi89