Replies: 1 comment
-
Can you do it by tracking if the button inside has focus? then you can turn off the outer one? The Group only knows that focus is inside of itself, it isn't aware of the kinds of elements in it or if there are multiple focusable elements It may be helpful to provide a codesandbox demonstrating how you're styling this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When navigating with a keyboard, focusing on elements like
Button
within a fieldGroup
will cause two focus rings to be shown. Here is an example:This also happens within the RAC docs for
Group
although due to the edge-to-edge styling it's less noticeable:CleanShot.2024-10-23.at.12.48.06.mp4
My expectation would be for only one element to display a focus ring at any given time.
Two questions:
Group
to enforce displaying a single focus ring at a time?Beta Was this translation helpful? Give feedback.
All reactions