-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
feat: add keyboad navigation to select with autocomplete #3097
feat: add keyboad navigation to select with autocomplete #3097
Conversation
const activeItem = this.keyManager.activeItem; | ||
if (activeItem) { | ||
this.selectOption(activeItem); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we should add the this.button.nativeElement.focus();
somewhere here as well? It seems that it looses the focus once I select the option with "enter" - so I cannot search-enter-search again
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Please read and mark the following check list before creating a pull request:
Short description of what this resolves:
Add keyboad navigation to select with autocomplete