akiran / akiran/react-slick

The sliding position is incorrect in slide process when click next arror!

Aperta
#1,886 1 commento 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

`const slide = ({ slides }) => {
const sliderSettings = {
infinite: true,
speed: 500,
slidesToShow: 3,
slidesToScroll: 3,
nextArrow: ,
prevArrow:
};

return (

1
2
3
4

);
};`

`function ArrowButton(props) {
const { direction, style, onClick } = props;

return (






);
}`
when click the nextArrow button firstly, the div box only slides a box,but I want to be 3 div boxs.
when it is inital, the situation is as below image:
![image](https://user-images.githubusercontent.com/69444566/91937411-6f4acc80-ed24-11ea-952e-7d58f5bc5eae.png)
after clicking the nextArrow button firstly, the situation is as below image:
![image](https://user-images.githubusercontent.com/69444566/91937446-7d98e880-ed24-11ea-8f91-ef4854a92dac.png)

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.