akiran / akiran/react-slick

centerMode not working properly with dynamic widths

Abierto
#1,944 1 comentario 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 want the items in the carousel to have the same width when on mobile like this:
https://i.ibb.co/nmJcgmB/Untitled.png

It should change based on how much space is available.

And this is my codesandbox, there is no way I can get something similar to happen. I think it has to do with the width, can another option be added to handle this problem?
https://codesandbox.io/s/elated-hill-ktx5q?resolutionWidth=448&resolutionHeight=675&file=/src/slider.scss:0-7163

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.