Skip to content

bug: RTL show  #1764

Open
Open
@xrkffgg

Description

@xrkffgg

Describe

I think in RTL, from right to left, it's 123, not 312

CodeSandbox

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

return preCloneSlides.concat(slides, postCloneSlides).reverse();

It may be fix in this place

--preCloneSlides.concat(slides, postCloneSlides).reverse();
++preCloneSlides.concat(slides.reverse(), postCloneSlides.reverse());

And preCloneSlides is not the last node, but the first node.

I hope this will be fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions