Skip to content

Commit f956a02

Browse files
committed
fix(switchbase): focus indication on MacOS and iOS
1 parent fe7de4b commit f956a02

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/SwitchBase/SwitchBase.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,7 @@ export const LabelText = styled.span`
5151
${StyledInput}:focus ~ & {
5252
${focusOutline}
5353
}
54+
${StyledInput}:not(:disabled) ~ &:active {
55+
${focusOutline}
56+
}
5457
`;

0 commit comments

Comments
 (0)