horsey
horsey copied to clipboard
Scrollbox or keep item in view?
Can you extra pretty please add an option for a scrollbox for extra long lists of matches? Using keyboard navigation you can currently navigate very long lists off screen which is not very good An alternative (maybe better) option would be just keeping the currently selected item in view - without a scrollbar, somehow
+1. I have to heavily filter and limit the suggestions to a very small number otherwise most people think there just aren’t any suggestions past what’s shown on the screen.
Here’s a hacky solution: calculate a new max-height for the suggestions list every time it’s shown.
This is tricky. Scrolling should be possible, but it's not the best UX.
I have added an option scrollToSelectedItem
for this behavior: https://github.com/unic/horsey/commit/a15ad4308d9cc97a2d1ab84e8d483c671b3bd4d8
If it works fine in a current project, I will add an example and open a pull-request.