bug: RTL show
未關閉
bug
- 主要語言
- JavaScript
- 星號
- 11.9k
- 分支
- 2.1k
- PR 合併指標
- 30 天內沒有已合併 PR
描述
### 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.
貢獻指南
評估
這個 Issue 還沒有評估資料。