problem with responsive when mounting the component
Author: lucaspieranCreated Jan 26, 2024Updated Aug 31, 2026
When im in responsive mode this add a translate x value in slick-list and should be 0
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,
},
},
],
}only after touching next or prev does it look good
Source: akiran/react-slick