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

Ouverte
#2,034 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
11.9k
Forks
2.1k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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)

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.