Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search: unusual scrolling behavior when using arrow keys #398

Open
thephez opened this issue Oct 8, 2024 · 3 comments
Open

Search: unusual scrolling behavior when using arrow keys #398

thephez opened this issue Oct 8, 2024 · 3 comments

Comments

@thephez
Copy link

thephez commented Oct 8, 2024

I'm trying to get search working as I had it before using the extension (mostly there). I noticed this unexpected behavior when trying to scroll with the arrow keys. I recorded my screen so I didn't have to try to explain 😄 Basically, the arrow seems to do random things. In this video, I only pressed the down arrow. Sometimes it moved down, sometimes up, and some keystrokes don't do anything at all 🤷

You can experiment here and see if you experience the same thing. It's not page-dependent, but this is the one I was on when recording the video: https://docs.dash.org/projects/core/en/rtd-search-fix-2024-10-08/docs/dashcore/wallet-arguments-and-commands-dash-cli.html

rtd-search-scrolling.mp4
@thephez
Copy link
Author

thephez commented Oct 8, 2024

Watching the video, I noticed there is an almost unnoticeable highlighting. Looks like it's supposed to loop back to the top of the list when it gets to the bottom? However, there are 8 items found (across 6 pages) and not all items are hit sometimes. It seems like I can get to all items if the mouse is not over the results window. But the mouse focus throws something off so it doesn't actually cycle through all results, but sometimes prematurely returns to the beginning of the list?

I dunno, hopefully some of that helps.

@humitos
Copy link
Member

humitos commented Oct 9, 2024

Basically, the arrow seems to do random things. In this video, I only pressed the down arrow. Sometimes it moved down, sometimes up, and some keystrokes don't do anything at all 🤷

I think you can iterate only over specific results inside pages with the keyboard, but not in the titles of the pages. Is this correct? @zanderle

Looks like it's supposed to loop back to the top of the list when it gets to the bottom?

Yes.

But the mouse focus throws something off so it doesn't actually cycle through all results, but sometimes prematurely returns to the beginning of the list?

I think if you hover on a result with the mouse, the index for the keyboard is reset and start from 0 again.


I understand this is not super intuitive and weird UX, but I guess it's how it works for now 😄 . We should define how we want to work on all these cases, and implement it as an improvement.

@humitos humitos changed the title Unusual scrolling behavior when using arrow keys Search: unusual scrolling behavior when using arrow keys Oct 10, 2024
@zanderle
Copy link
Collaborator

I think you can iterate only over specific results inside pages with the keyboard, but not in the titles of the pages. Is this correct? @zanderle

Correct 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants