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

Suggest: Tab index/focus resets after selecting something from the suggestion dropdown #6993

Open
felixangell opened this issue Sep 21, 2024 · 0 comments

Comments

@felixangell
Copy link

Environment

  • Package version(s): ^5.12.0
  • Browser and OS versions: Chrome, Senoma 14.6.1

Question

If I have multiple FormGroup entries within a Dialog for some kind of form and the first FormGroup contains a Suggest and the others contain HTMLSelect (or any other form of input entry). I expect that, on selecting an item from the dropdown of the Suggest options, the tab focus should continue in sequence.
Instead, it appears that the tab focus is reset as, when I select an option from the Suggest and press the 'tab' key it resets and cycling through the first thing that is focused is the close button on the dialog form.

Here's an example screenshot to visualise this
image

... on selecting something on the first input component, it resets focus, meaning I have to manually tab all the way through in the order of close button -> account type input -> type input whereas I would expect it to automatically tab onto the account type input element as that is the second in focus from the suggest container.

I am wondering if this is a bug or if this is something I am doing wrong and should be passing in some kind of configuration to enable the tabbing to work as expected.

Happy to provide code if this helps clarify anything. Please let me know if you need more details. Thank you!

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

1 participant