-
-
Notifications
You must be signed in to change notification settings - Fork 212
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
[Bug]: Radio Group has disappearing focus #1264
Comments
@hrubysi can you provide a better reproduction? the focus looks fine for me |
Thanks @hrubysimon , but is it happening too on Stackblitz? Might be browser issue. Could you perhaps try other browser? |
@zernonia It happens on Brave, Chrome, Edge. I found about it in my project, so it's not just related to radix-vue.com |
Icic.. It's kinda weird.. Can you try it here and see? https://react-spectrum.adobe.com/react-aria/RadioGroup.html#radiogroup |
That works fine. Stackblitz is same as radix-vue.com |
Icic. Lastly, can you check https://www.radix-ui.com/primitives/docs/components/radio-group ? The current project is referencing from the main Radix UI repo |
That also works well. |
Ok that's weird. I'll dig deeper soon 🤞🏻 Thanks for reporting this |
It seems to me, that it might be caused by |
Confirmed by console log. Not sure about the safari bug, so I'm going to leave it up to you. |
Appreciate the insight @hrubysimon !! I think I manage to trace the issue and the same is happening on Radix UI lol |
Environment
Link to minimal reproduction
https://www.radix-vue.com/components/radio-group#radiogroup
Steps to reproduce
Describe the bug
Radio Group can make focus disappear when choice is first selected by mouse and then user uses tab to move around the form.
The focus goes to the wrapper
div[role="radiogroup"]
instead of some of the options.Expected behavior
Focus doesn't disappear.
Focus goes directly to some of the options instead of the wrapper div.
Context & Screenshots (if applicable)
No response
The text was updated successfully, but these errors were encountered: