akiran / akiran/react-slick

Arrow click restarts carousel

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

説明

since this is the last React carousel I'll ever need it should have all the features I need

at present I have `pauseOnHover: true`, which means that if the user moves the mouse over the carousel, it stops sliding. good. but if the user clicks on one of the arrows, the carousels starts autosliding again! no good!!

if I'm clicking, I want to be in control. I don't want that thing sliding off from under me. so the autoslide should only be turned back on once the user stops hovering over the carousel

I hope the above is clear as to what the problem is and why it should behave differently

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

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

評価

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

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

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