-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add keyboard support for auto-suggested usernames #1070
Comments
@balsa-asanovic, friendly ping |
Present 😄 Yeah, I'll be taking this one as we talked about it already in the PR regarding the username auto suggest |
dgdavid
added a commit
that referenced
this issue
May 2, 2024
## Problem In #1022 the username auto-suggest feature was introduced, but the dropdown with usernames didn't support keyboard navigation. This PR aims to solve this, It introduces navigation with arrow keys (up and down) and sets the value on the press of Enter. fixes #1070 ## Solution Now checking for keyboard events on the username input field and on the arrow presses changing the index of the selected menu item, highlighting the appropriate one. On the press of Enter, again using the current value of index, the text input is populated with a value from the usernames array.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The list of suggested usernames introduced on #1022 lacks of keyboard support. A know issue that is going to be addressed when time permits.
Initially we agreed on not opening an specific issue for it and refer to #112 instead.
However, I have though that could be useful to left here some useful articles/docs that might help to implement it. See comments below.
The text was updated successfully, but these errors were encountered: