huntabyte / cmdk-sv

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

Home and End Keys do not move cursor #97

Open t-mart opened 3 months ago

t-mart commented 3 months 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 3 months 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.

AviranAbady commented 1 month ago

experiencing the same issue, seems like Home/End act like page up/down on the thus capturing those key inputs.