dotUI
dotUI copied to clipboard
[bug] No Outline on Switch Component
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
- go to https://dotui.org/components/inputs/switch
- Press tab on switch, while enter would work, outline is not visible on the component while in focus
- 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