RAC: Multiple focus rings displayed within field Group
#7241
-
When navigating with a keyboard, focusing on elements like This also happens within the RAC docs for CleanShot.2024-10-23.at.12.48.06.mp4My expectation would be for only one element to display a focus ring at any given time. Two questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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.
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.