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

Aperta
#2,034 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
11.9k
Fork
2.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.