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

Abierto
#2,034 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
11.9k
Forks
2.1k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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)

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.