pastelsky / tsdocs

Browse type documentation for JS libraries
https://tsdocs.dev
MIT License
1.12k stars 25 forks source link

Home/End buttons doesn't work in search bar #3

Open jcubic opened 10 months ago

jcubic commented 10 months ago

As in the title, it's poor UX if you don't have these default keys in the normal input.

pastelsky commented 10 months ago

I've never personally used them or have those keys to be able to test. But the search input is built using https://www.downshift-js.com/ which is easy to make keyboard friendly.

Happy if someone can validate this or send across a fix

jcubic commented 10 months ago

If you want a use case. I've typed react-navigation instead of @react-navigation if you only use keyboard you need to delete what you typed because you can't go to the beginning and type @.