bug: RTL show
Aperta
bug
- Lingua principale
- JavaScript
- Stelle
- 11.9k
- Fork
- 2.1k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### 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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.