akiran / akiran/react-slick

Last and second last images in the asNavFor slider doesn't come into centre in second slider upon sliding to the image in first slider

オープン
#2,034 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
11.9k
フォーク
2.1k
PR マージ指標
30日以内にマージされた PR はありません

説明

I have to sliders using asNavFor with `infinite=false` in both sliders and `centerMode=true` in second slider. When moving the images in the first slider, the images in the second slider syncs properly with the above slider till the 3rd last image, after that the last two images don't come into the centre view as the previous ones did. The last image remains completely out of view.

Is there a setting option or a way to fix this behaviour without turning `infinite` to `true`

[Link to sandbox](https://codesandbox.io/s/ppwkk5l6xx)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。