akiran / akiran/react-slick

Can't drag and not getting on center

Aperta
#1,658 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
11.9k
Fork
2.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I'm facing some issues I can't able to drag slide item and slide not on center and when I set `centerMode: true` adding 1+ to slides, means If I set `slidesToShow: 4` it shows `5`

![Screenshot from 2019-10-21 08-51-59](https://user-images.githubusercontent.com/42825498/67174570-1c07ae00-f3e0-11e9-82df-3be6320ea85d.png)

code
```

import React from 'react';
import Slider from "react-slick";

const Brand = () => {
const settings = {
dots: false,
arrows: false,
// centerMode: true,
infinite: true,
slidesToShow: 4,
slidesToScroll: 4,
// autoplay: true,
speed: 3000,
autoplaySpeed: 1000,
draggable: true,
responsive: [
{
breakpoint: 600,
settings: {
slidesToShow: 3,
}
},
{
breakpoint: 480,
settings: {
slidesToShow: 2,
}
}
]
};
return (




1




2




3




4




5




6




7





)
}

export { Brand as default }
```

Please help me in solving this issue.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.