OwlCarousel2 / OwlCarousel2

DEPRECATED jQuery Responsive Carousel.

Home Page:http://owlcarousel2.github.io/OwlCarousel2/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

center & rtl combination

SilenceHide opened this issue · comments

A summary of the issue and the browser/OS environment in which it occurs. If suitable, include the steps required to reproduce the bug.>

  1. This is the first step
  2. This is the second step
  3. Further steps, etc.

<url> - a link to the reduced test case. You can use one of the following services:


Any other information you want to share that is relevant to the issue being reported.

This might include the lines of code that you have identified as causing the bug, and potential solutions (and your opinions on their merits).

Hi,

$(".owl-carousel").owlCarousel({
loop: false,
margin: 5,
nav: false,
dots: false,
autoplay: true,
autoplayTimeout: 2000,
center: true,
rtl: true,
smartSpeed: 1000,
responsive: {
0: {
items: 1,
},
600: {
items: 3,
},
1000: {
items: 5,
},
},
});

If You use this code, At the end slider will be gone. I think that problem begins with the "center" and "rtl" combination because if you remove "center" or "rtl" it works properly.