Open aygee opened 3 months ago
When a dialog is opened with a button that contains svg, :focus-visible style is triggered. This seems to happen on Safari on MacOS and also Safari and Chrome on iOS.
:focus-visible
https://github.com/radix-ui/primitives/assets/1481184/fbe8ed57-573b-4d20-9f96-5421d11290d5
The :focus-visible style should not be triggered
CodeSandbox Template
Bug report
When a dialog is opened with a button that contains svg,
:focus-visible
style is triggered. This seems to happen on Safari on MacOS and also Safari and Chrome on iOS.Current Behavior
https://github.com/radix-ui/primitives/assets/1481184/fbe8ed57-573b-4d20-9f96-5421d11290d5
Expected behavior
The
:focus-visible
style should not be triggeredReproducible example
CodeSandbox Template
Your environment