akiran / akiran/react-slick

Need callback for keyboard navigation.

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

説明

### Feature

#### Need callback for keyboard navigation.

I was using external index buttons to switch between each `slick-items` using `slickGoTo()` on hover of the buttons. Corresponding button get's highlighted. But on keyboard navigation I never used to get any kind of `onKeyboardNav(index)` notification. I tried using `afterChange()` but it will include all changes. Also `afterChange()` will be triggered only after the animation. So smooth animation of the button highlight is not possible.

https://codesandbox.io/p/sandbox/react-slick-playground-forked-5f49h3

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

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

評価

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

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

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