dotUI icon indicating copy to clipboard operation
dotUI copied to clipboard

[bug] No Outline on Switch Component

Open biomathcode opened this issue 7 months ago • 0 comments

Describe the bug

No outline visible on the switch component while in focus. The behavior is inconsistent with Switch from react-aria-component.

https://github.com/user-attachments/assets/35f757ea-40cf-4e20-870d-0e5592967ff9

Affected component/components

Switch

How to reproduce

  1. go to https://dotui.org/components/inputs/switch
  2. Press tab on switch, while enter would work, outline is not visible on the component while in focus
  3. Check out https://react-spectrum.adobe.com/react-aria/Switch.html, for the ideal behavior

Codesandbox link

No response

System Info

Chrome, Windows

Before submitting

  • [X] I've made research efforts and searched the documentation
  • [X] I've searched for existing issues

biomathcode avatar Jul 12 '24 17:07 biomathcode