akiran / akiran/react-slick

Extra space at last slider when slidesToShow is setup as decimals

Abierto
#1,851 2 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

Hi, i'm running with a issue on my slick sliding functionality, let me attach the setup:

`var settings = { slidesToShow: 1.25, infinite: false, arrows: false, dots: false, swipeToSlide: true, touchThreshold: 100, speed: 200, responsive: [ // ], };`

![initial slider](https://user-images.githubusercontent.com/992281/92351741-6ce0cd80-f0aa-11ea-9fef-720f2a0aa5bb.png)

![empty last slider](https://user-images.githubusercontent.com/992281/92351755-79652600-f0aa-11ea-8d60-697bac52125e.png)

The slider works well, however using infinite: false, the carousel get an extra space next from the last slide instead to shows 1/4 first slide again, what are the best values of slidesToShow for the infinite ? thanks.

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.