pacocoursey / cmdk

Fast, unstyled command menu React component.
https://cmdk.paco.me
MIT License
9.68k stars 279 forks source link

Default select the bottom item (reverse order) #125

Open jeloi opened 1 year ago

jeloi commented 1 year ago

I want to create a command palette where the palette appears above the text input. Therefore I want the deafult first selected item to be the last one in the list, so that the user cycles upward to choose other options.

How might i achieve this? Thanks.