Open jianghr-rr opened 6 years ago
rtl of this pkg truly is a big mess
it really does not works properly
Totally agree, try to set rtl: true and lazyLoad: onDemand, it just doesn't work.
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
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