bug: RTL show
Abierto
bug
- Lenguaje dominante
- JavaScript
- Estrellas
- 11.9k
- Forks
- 2.1k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### 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
https://github.com/akiran/react-slick/blob/80eb208cb7454cc63621f3bcf07a2b8c32999afa/src/track.js#L183
It may be fix in this place
```diff
--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.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.