From a987d47cf09ee5387e3c64bc98918e3cfb85a690 Mon Sep 17 00:00:00 2001 From: MahtabBukhari Date: Wed, 23 Oct 2024 11:53:26 +0500 Subject: [PATCH] fix(input-field): it should only appear on hover or while typing --- src/components/common/TextInput/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/common/TextInput/index.tsx b/src/components/common/TextInput/index.tsx index ce5bd123a..5ad047407 100644 --- a/src/components/common/TextInput/index.tsx +++ b/src/components/common/TextInput/index.tsx @@ -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 }