Skip to content

Commit 871d533

Browse files
afzalzbrarturbien
authored andcommitted
fix(Button): active button focus outline
bug fix: active button focus issue resolved removed !active flag from line 167. bug fix: "Active" button not getting focused state
1 parent 8d8a376 commit 871d533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Button/Button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export const StyledButton = styled.button<StyledButtonProps>`
164164
}
165165
&:focus:after,
166166
&:active:after {
167-
${!active && !disabled && focusOutline}
167+
${!disabled && focusOutline}
168168
outline-offset: -8px;
169169
}
170170
&:active:focus:after,

0 commit comments

Comments
 (0)