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

Dialog breaks focus/hover behavior of Select #3268

Open
Tatamo opened this issue Dec 4, 2024 · 0 comments
Open

Dialog breaks focus/hover behavior of Select #3268

Tatamo opened this issue Dec 4, 2024 · 0 comments

Comments

@Tatamo
Copy link

Tatamo commented Dec 4, 2024

Bug report

Current Behavior

2024-12-04.20.52.26.mov

:focus, :hover on Select component do not active after opening (and closing) a Dialog.
after some keyboard interaction, it goes back to fine and outline appears again.

Expected behavior

:focus and :hover on Select works correctly even if some dialog components are in the same page.

Reproducible example

https://codesandbox.io/p/sandbox/serene-swirles-xlfgtl

Your environment

Software Name(s) Version
Radix Package(s) @radix-ui/react-dialog, @radix-ui/react-select 1.1.2(dialog), 2.1.2(select)
React n/a 18.3.0
Browser Google Chrome arm64 131.0.6778.86
Assistive tech
Node n/a 22.11
npm/yarn npm 10.9.0
Operating System macos
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