From 44ea611b775003277cdd322b78570ff62ed649c4 Mon Sep 17 00:00:00 2001 From: Pier Francesco Ferrari Date: Wed, 9 Aug 2023 15:44:17 +0200 Subject: [PATCH] chore: minimize accessibility effects of SearchBar --- packages/app-elements/src/ui/composite/SearchBar.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app-elements/src/ui/composite/SearchBar.tsx b/packages/app-elements/src/ui/composite/SearchBar.tsx index e7d7208f..89fc67f3 100644 --- a/packages/app-elements/src/ui/composite/SearchBar.tsx +++ b/packages/app-elements/src/ui/composite/SearchBar.tsx @@ -66,7 +66,7 @@ function SearchBar({ data-test-id='SearchBar' className={cn( 'rounded relative w-full bg-gray-100', - 'focus-within:shadow-inputfocus focus-within:bg-white', + // 'focus-within:shadow-inputfocus focus-within:bg-white', className )} {...rest} @@ -80,7 +80,7 @@ function SearchBar({ className={cn( 'px-12 py-2 bg-transparent font-medium w-full transition placeholder:text-gray-400', 'shadow-none !outline-0 !border-0 !ring-0', - '!focus:shadow-none !active:shadow-none' + '!focus:shadow-none !active:shadow-none focus:caret-primary' )} data-test-id='SearchBar-input' placeholder={placeholder}