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

Feature request : Select first item in options when enter is pressed. #45

Open
songoo opened this issue Feb 1, 2017 · 1 comment
Open

Comments

@songoo
Copy link

songoo commented Feb 1, 2017

Hello, very nice library.

Is it possible to select first item in list when i do press "Enter" while typing in search input ?

It works ok if i select option with down/up arrows and then press "Enter".

@brenna
Copy link
Contributor

brenna commented Feb 1, 2017

Hi @songoo,

Thanks for the suggestion. It's a good idea and possible, but low priority for us as we haven't required this for our use cases at TED yet. Would accept a PR.

Note for anyone contributing to this: we'd need to also add some type of auto-focus on the first option while searching to give a clear indication of what the Enter key would do here.

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

2 participants