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

autocomplete gets focus on second tab key #1438

Closed
1 task
MatGhp opened this issue Nov 19, 2019 · 2 comments
Closed
1 task

autocomplete gets focus on second tab key #1438

MatGhp opened this issue Nov 19, 2019 · 2 comments
Labels

Comments

@MatGhp
Copy link

MatGhp commented Nov 19, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.4.5

Environment

Chrome

Reproduction link

https://ibb.co/9wd7JRx

Steps to reproduce

https://ibb.co/9wd7JRx

What is expected?

Remove tabindex="0" from outer div of autocomplete or set it to -1.

What is actually happening?

Focus needs two time tab keys
Setting tabindex in div tag makes the div focusable and focusing input element inside the autocomplete component needs 2 times tab key.

@haivp3010
Copy link

A workaround would be setting tabindex="-1" on the a-auto-complete tag. But I think it would be better to make this default for the autocomplete component to avoid confusion

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants