K
K
KoRNeT46RuS2019-04-23 09:24:48
Owl Carousel
KoRNeT46RuS, 2019-04-23 09:24:48

Why does OWL causel flip to the first element to the left?

$('.js-slide-similar').owlCarousel({
            loop: true,
            margin: 20,
            nav: true,
            navText: true,
            pagination: true,
            dots: true,
                lazyLoad: true,
                video: true,
            responsive: {
                0: {
                    items: 1,
                    nav: true,
          loop:true
                },
                450: {
                    items: 2,
                    nav: true,
          loop:true
                },

                760: {
                    items: 3,
                    nav: true,
          loop:true
                },
                980: {
                    items: 4,
                    nav: true,
          loop:true
                }
            }
        });

With a constant (quick) press on the right arrow, it reaches the 2nd element of the new cycle and turns sharply to the right. If you press the arrow normally, everything turns smoothly and does not recoil to the beginning to the left. How to fix the situation with a quick click?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question