Slick slider not working in tabs?

Hello!
here is the website
here tabs
js tabs
$('.tabs-nav li').click(function(e) {
 var a = $(this),
 parent = a.parents('.tabs'),
 nav = parent.children('.tabs-nav').children('li'),
 box = parent.children('.tabs-box').children('div');

 if (!a.hasClass('active')) {


a.addClass('active')
.siblings().removeClass('active');
box.eq(a.index()).addClass('active')
.siblings().removeClass('active');
}
e.preventDefault();
});


The question of where you need to register $slider.slick("setPosition") to work, or is there another solution?
June 10th 19 at 14:46
1 answer
June 10th 19 at 14:49
Solution
I have the arrow slider moves might not set avtopley, plus the circular rotation because it scrolls down one item and then stops. Plus they're initialized at one point, when the unit one

Find more questions by tags LayoutHTMLJavaScript