From d61099f5e77c181beb19794ddfa8c76b7b7ec77f Mon Sep 17 00:00:00 2001 From: Matt McCoy Date: Sat, 24 Feb 2024 13:31:56 -0500 Subject: [PATCH] fix: scrolling now doesnt auto select a user --- client/components/profile/Group.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/client/components/profile/Group.tsx b/client/components/profile/Group.tsx index a6339fb..759956d 100644 --- a/client/components/profile/Group.tsx +++ b/client/components/profile/Group.tsx @@ -57,7 +57,13 @@ export function Group({ (roles.find((role) => role.role === Role.PATIENT)?.user_id ?? '') )} renderItem={({ item, index }) => ( - setActiveUser(item.user_id)}> + { + e.stopPropagation(); + setActiveUser(item.user_id); + }} + > {item.first_name}