akiran / akiran/react-slick

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

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

`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)

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.