akiran / akiran/react-slick

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

オープン
#1,886 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
11.9k
フォーク
2.1k
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。