Closed acroyear closed 1 month ago
TBH I don't know if it's worth offering it out-the-box as it's fairly easy to add yourself with useKeypress
hooks etc -- also, I expect if you're building for a TV you have a good keyboard abstraction anyway. Unless perhaps there's more complexity than I recognise?
Aside, there is an example of arrow controls on the slideshow story here which I think work okay?
https://richardscarrott.github.io/react-snap-carousel/?path=/story/slideshow--scroll-padding
Closing as can be done in user land.
It looks pretty sharp, but it could use built-in arrow key support. left-right for horizontal, up-down for vertical layout.
The reason isn't just supporting mouseless desktops, but also TV type apps where the remote control is primarily a 5-button (up down left right enter) setup.