horsey icon indicating copy to clipboard operation
horsey copied to clipboard

Scrollbox or keep item in view?

Open lw1990 opened this issue 8 years ago • 4 comments

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

lw1990 avatar Apr 22 '16 03:04 lw1990

+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.

shivjm avatar Apr 22 '16 18:04 shivjm

Here’s a hacky solution: calculate a new max-height for the suggestions list every time it’s shown.

shivjm avatar Apr 22 '16 19:04 shivjm

This is tricky. Scrolling should be possible, but it's not the best UX.

bevacqua avatar Jul 21 '16 17:07 bevacqua

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.

backflip avatar Nov 14 '16 19:11 backflip