To be able to navigate in an instantsearch.js UI and eventually select an item.
I'm just jumping into Algolia InstantSearch. Really great so far!
I'm looking to add keyboard navigation, specifically support for arrow keys and enter to select a result. Is there currently recommended way to add this to instantsearch results?
@zeke, still needs to be investigated, but I see two options:
then change the focus to the next or previous hit, or back to the input. Maybe could also be tried by simply adding tabIndex="0" to the results
Quick & dirty :)
https://www.pastiebin.com/5bae28c67bde2
Most helpful comment
Quick & dirty :)
https://www.pastiebin.com/5bae28c67bde2