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

[EuiSelectable] Coordinate keyboard and mouse movement to only highlight one row #4221

Closed
LeeDr opened this issue Nov 3, 2020 · 5 comments
Closed

Comments

@LeeDr
Copy link

LeeDr commented Nov 3, 2020

I'm looking at 7.10 and if my mouse is over the selection list items and I use my keyboard to navigate up and down the list it's rather confusing to see 2 items highlighted. When the keyboard cursor causes the list to scroll, it also causes the stationary mouse to select different items as they move beneath it. It would be great if only one was ever highlighted.

  • on mouse move, highlight only the item the mouse is over
  • on keyboard cursor up/down, move the highlight up or down from previously highlighted items (even if it was from the mouse move).

Showing multiple rows highlighted also makes it confusing on what to expect when I press the enter key. It will select the one I moved to with the keyboard, not the one being highlighted by the mouse.

Here's the current behavior on 7.10 on Nav Search. My mouse is over the list, and I'm using the keyboard to go up and down;
NavSearch3

I'm looking for behavior somewhat similar to this Windows mouse setting Hide pointer while typing;
image

@cchaos cchaos changed the title [euiFieldSearch] coordinate keyboard and mouse movement to only highlight one row [EuiSelectable] Coordinate keyboard and mouse movement to only highlight one row Nov 3, 2020
@github-actions
Copy link

github-actions bot commented May 3, 2021

👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.

@cchaos
Copy link
Contributor

cchaos commented May 3, 2021

This one should definitely be addressed. I think it's also related to #4147 where the auto focus is too invasive (or not invasive enough) and causes the user to have to click on the list first then they can scroll to the item the want. Otherwise if they scroll first then click, it just focuses the list auto-scrolling to the currently focused item (first).

@github-actions
Copy link

👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.

@github-actions
Copy link

👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.

@github-actions
Copy link

github-actions bot commented May 7, 2022

❌ We're automatically closing this issue due to lack of activity. Please comment if you feel this was done in error.

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

No branches or pull requests

2 participants