react-spectrum
92a83d9f - fix: prevent double focus rings in table when clicking on expand buttons (#9861)

Commit
2 days ago
fix: prevent double focus rings in table when clicking on expand buttons (#9861) include visually hidden elements in preventFocus so we get the right target the browser tries to focus. this allows us to properly refocus the original element when the user presses on a preventFocusOnPress element, fixing the broken flow that useFocusRing and useFocus had when trying to update the focused state of a row when focus moves due to a click on the expand button.
Author
Parents
Loading