I am using Slick Slider in Magnific Popup .
The slider may contain a couple of elements and have its own miniature navigator.
Since the popup sets the slider to display: none I use:
$('.slider-products').slick('setPosition');
in the callback function when a popup opens and changes.
I created a pen .
You will see a couple of problems, firstly, the thumbnail navigation does not load correctly due to the fact that setPosition is not installed, but I could not get this to work. If you resize the window, you will see it.
Secondly, the first positions do not start on the second (violet) and third (green) elements. Each slider gets its own unique class, so they should not interfere with each other.
sarah3585
source share