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

feat: add keyboad navigation to select with autocomplete #3097

Merged
merged 11 commits into from Aug 31, 2022

Conversation

sashaqred
Copy link
Member

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

@sashaqred sashaqred self-assigned this Aug 24, 2022
const activeItem = this.keyManager.activeItem;
if (activeItem) {
this.selectOption(activeItem);
}
Copy link
Collaborator

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure

Copy link
Collaborator

@nnixaa nnixaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Tibing Tibing merged commit c52fe3a into master Aug 31, 2022
@Tibing Tibing deleted the feat/add-keyboad-navigation-to-select-with-autocomplete branch August 31, 2022 08:50
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

Successfully merging this pull request may close these issues.

None yet

3 participants