react-slick icon indicating copy to clipboard operation
react-slick copied to clipboard

set "rtl" and "infinite" both will cause problems

Open jianghr-rr opened this issue 8 years ago • 4 comments

set rtl: true and set infinite:true will cause the "slick-active" wrong, the real active dom is the prev one. the function "beforeChange" can not get oldIndex, oldIndex is undefined

jianghr-rr avatar Aug 10 '18 09:08 jianghr-rr

rtl of this pkg truly is a big mess

a-m-dev avatar Aug 18 '18 15:08 a-m-dev

it really does not works properly

a-m-dev avatar Aug 18 '18 15:08 a-m-dev

Totally agree, try to set rtl: true and lazyLoad: onDemand, it just doesn't work.

Belzee10 avatar Jun 30 '19 14:06 Belzee10

I have two slider on the same page: const settings = { infinite: false, speed: 300, slidesToShow: 4, slidesToScroll: 1, responsive: [ { breakpoint: 1024, settings: { slidesToShow: 3, slidesToScroll: 3, infinite: true, dots: true } }, { breakpoint: 650, settings: { slidesToShow: 4, slidesToScroll: 1, vertical: true } } ] }; but the second one alwasy keep adding in dir="ltr" is it possible to remove the ltr from the render ReactSwitch. Am using ^0.23.2

aviranmz avatar Nov 06 '19 13:11 aviranmz