akiran / akiran/react-slick

RTL issue on first slide change when infinite is set to false

未关闭
#2,075 4 条评论 11 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
11.9k
派生
2.1k
PR 合并指标
30 天内没有已合并 PR

描述

Hi,

slider does not work well on the first slide change with setting:
rtl: true,
infinite:false

slide start at 3(which is correct) but when pressing [previous] button the first time, the slide will go straight to slide 1 instead of 2.
https://codesandbox.io/s/react-slick-playground-forked-dpxze

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。