From 8c603a9bd6def10fa75d4ccec437e8ba64111316 Mon Sep 17 00:00:00 2001 From: Abhishek Hegde Date: Mon, 2 Dec 2024 00:28:56 +0530 Subject: [PATCH] fix: make the email suggestion better (#1601) --- src/components/Signin.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Signin.tsx b/src/components/Signin.tsx index 2f7980bcc..612e67a56 100644 --- a/src/components/Signin.tsx +++ b/src/components/Signin.tsx @@ -218,6 +218,7 @@ const Signin = () => { ref={(listItem) => (suggestionRefs.current[index] = listItem!) } + onMouseDown={() => handleSuggestionClick(domain)} onClick={() => handleSuggestionClick(domain)} className={`relative flex w-full cursor-default select-none items-center rounded-sm p-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 ${ focusedIndex === index