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

Keyboard navigation issue when using react-select inside @radix-ui/react-dialog #3168

Open
sachinverma-policybazaar opened this issue Oct 7, 2024 · 1 comment

Comments

@sachinverma-policybazaar

Bug report

Current Behavior

I'm rendering a form inside a Dialog component. This form has a select field, for select I'm using react-select package.
When I try to navigate the form by pressing Tab key, the focus does not move past the select field to the next input element. And on pressing Tab again the focus goes to the first focusable element in the dialog.

Expected behavior

I expected the focus to move to the next focusable element.

Reproducible example

CodeSandbox Template

Additional context

This issue does not exist outside the dialog as shown on the codesandbox.

Your environment

Software Name(s) Version
Radix Package(s) @radix-ui/react-dialog 1.1.2
React n/a 18.0.0
Browser Chrome 129.0.6668.90
Assistive tech
Node n/a 18.17.0
npm/yarn npm 9.6.7
Operating System macOS 15.0.1
@snrmwg
Copy link

snrmwg commented Nov 2, 2024

I think they are discussing the same problem on the react-select side: JedWatson/react-select#5882

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