Need callback for keyboard navigation.
Offen
- Vorherrschende Sprache
- JavaScript
- Sterne
- 11.9k
- Forks
- 2.1k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
### 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
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.