huntabyte / cmdk-sv

cmdk, but for Svelte ✨
https://cmdk-sv.com
MIT License
468 stars 19 forks source link

Home and End Keys do not move cursor #97

Open t-mart opened 1 month ago

t-mart commented 1 month ago

While the input is focused with text inside, pressing the Home or End keys does not move the cursor to the expected places (beginning and end of text, respectively).

t-mart commented 1 month ago

On second thought, there may be a case for manually listening for these key events because, possibly, an implementation may want to go to the first or last suggestion.

Nonetheless, it still feels "un-<input>-y" to not have these keys function. I'd rather have to opt-out than opt-in to this behavior.