Skip to content

Commit

Permalink
fix(input-field): it should only appear on hover or while typing
Browse files Browse the repository at this point in the history
  • Loading branch information
MahtabBukhari committed Oct 23, 2024
1 parent 23f6df5 commit a987d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/common/TextInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const getBorderColor = (props: WrapperProps): string => {
return colors.primaryRed
}

if (props.hasContent || props.isFocused || props.isHovered) {
if (props.isFocused || props.isHovered) {
return colors.primaryBlue
}

Expand Down

0 comments on commit a987d47

Please sign in to comment.