akiran / akiran/react-slick

problem with responsive when mounting the component

Abierto
#2,333 6 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

When im in responsive mode this add a translate x value in slick-list and should be 0

```js
const settings = {
slidesToShow: 5,
slidesToScroll: 1,
speed: 500,
arrows: false,
infinite: false,
responsive: [
{
breakpoint: 1300,
settings: {
slidesToShow: 2,
slidesToScroll: 1,
},
},
{
breakpoint: 1600,
settings: {
slidesToShow: 3,
slidesToScroll: 1,
},
},
],
}
```

![image](https://github.com/akiran/react-slick/assets/67299584/1fb16025-efb0-4e8f-9a30-12f93e82138f)

only after touching next or prev does it look good
![image](https://github.com/akiran/react-slick/assets/67299584/b82bb3a3-17e1-4bac-9cbc-95f8e522c7e0)

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.