Skip to content

Commit

Permalink
Merge pull request #2379 from MahtabBukhari/The_blue_boundary_on_inpu…
Browse files Browse the repository at this point in the history
…t_fields_is_always_visible

The blue boundary on input fields is always visible; it should only appear on hover or while typing
  • Loading branch information
Rassl authored Nov 8, 2024
2 parents 6cb35c2 + a987d47 commit e0dbac2
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 e0dbac2

Please sign in to comment.