Why Slick is not working correctly?

Hello. Here is the link to the page where you configured the full screen Slick slider:
justme.matdev.ru/index-fade-slider.html

The problem is that autoplay: true, Yes, autoplaySpeed: 1000, but when you click on the button "back" or "forward" sold through.slick("slickPrev");slides begin to unwind generally in a chaotic manner, and sometimes even stop it. + They start to toggle only after I go into another tab and then back to its.

Here's the full JS code:
$(function() {

$(".owl-carousel").slick({
 slidesToShow: 1,
 slidesToScroll: 1,
 fade: true,
 arrows: false,
 autoplay: true,
 autoplaySpeed: 1000,
 speed: 1000
});

 $(".right-arrow-wrapper").click(function() {
$(".owl-carousel").slick("slickNext");
});

 $(".left-arrow-wrapper").click(function() {
$(".owl-carousel").slick("slickPrev");
});

});


The library is connected. Jquery too. What could be the problem? Thanks in advance!
July 4th 19 at 22:43
1 answer
July 4th 19 at 22:45
Solution
I mean in chaotic? you have there 2 of the slide only.
other bugs not noticed.
and the thing that the button does not work - need to reduce speed. because while the animation does not fail completely - you will not be able to skip to the next slide.
I understand on the next slide. I'm on the other. After you click on the arrow, the slides no longer automatically prokatyvaetsja or continue, but after an indefinite period of time or after switching from another tab of the browser. - jaquelin.Jacobi15 commented on July 4th 19 at 22:48
: pauseOnFocus: false, pauseOnHover: false do - Rosendo_Hess commented on July 4th 19 at 22:51
and if that doesn't help, then add in your arrow else $(".owl-carousel").slick("slickPlay"); - Rosendo_Hess commented on July 4th 19 at 22:54
: That's it, have missed these options. The idea is this should be false by default. Thank you very much! - jaquelin.Jacobi15 commented on July 4th 19 at 22:57
no. by default just after the manual control slider, the slider should stop. because I chose this slide and look at it and don't want to wound) - Rosendo_Hess commented on July 4th 19 at 23:00
: too logical. - jaquelin.Jacobi15 commented on July 4th 19 at 23:03

Find more questions by tags CSSHTMLJavaScript