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

wrong items order at rtl mode

Open ArtNar opened this issue 4 years ago • 4 comments

First pic should remain the same

https://codesandbox.io/s/react-slick-playground-forked-yg6qh?file=/index.js

ArtNar avatar Oct 08 '20 11:10 ArtNar

Hi, I'd like to work on this, and would you tell me what is the problem and what you want more specifically? thanks :)

environment expected

active

import React from "react"; import ReactDOM from "react-dom"; import Slider from "react-slick"; import "./index.css";

const settings = { dots: true };

const items = [ "http://placekitten.com/g/400/200", "http://placekitten.com/g/400/201", "http://placekitten.com/g/400/202", "http://placekitten.com/g/400/203" ];

class ReactSlickDemo extends React.Component { render() { const renderItems = () => items.map((item) => (

));
return (
  <div className="container">
    <Slider {...settings} rtl>
      {renderItems()}
    </Slider>
    <br />
    <br />
    <Slider {...settings}>{renderItems()}</Slider>
  </div>
);

} }

ReactDOM.render(<ReactSlickDemo />, document.getElementById("container"));

JerryK026 avatar Nov 06 '20 11:11 JerryK026

👀

jacobdo2 avatar Nov 24 '21 15:11 jacobdo2

truly need solution ...

chienweiluo avatar Nov 17 '22 05:11 chienweiluo

+1

erashdan avatar Mar 17 '24 10:03 erashdan