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

tab key breaks autocomplete #30

Open
vogler opened this issue Mar 9, 2021 · 2 comments
Open

tab key breaks autocomplete #30

vogler opened this issue Mar 9, 2021 · 2 comments

Comments

@vogler
Copy link

vogler commented Mar 9, 2021

Just tried the example and noticed that hitting the tab key instead of enter does not create a new item but breaks autocomplete. In that state only the text before tab was hit is shown and you can't change it anymore.
https://codesandbox.io/s/chakra-ui-autocomplete-example1-8uxbs?file=/src/App.js

@koolamusic
Copy link
Owner

What would be the expected behaviour, or should this option be only allowed for a single select autocomplete input

@vogler
Copy link
Author

vogler commented Mar 10, 2021

What option? Here's a recording showing the issue:
Kapture 2021-03-10 at 02 04 16

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