From 685923065e261ebaf09ad18f44bab12e37defb87 Mon Sep 17 00:00:00 2001 From: Monalisha Mishra Date: Thu, 5 Oct 2023 18:48:29 +0530 Subject: [PATCH] fix: fixed scroll --- .../lib/components/chat/CreateGroup/ConditionsComponent.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/uiweb/src/lib/components/chat/CreateGroup/ConditionsComponent.tsx b/packages/uiweb/src/lib/components/chat/CreateGroup/ConditionsComponent.tsx index aff16eebe..364618fbf 100644 --- a/packages/uiweb/src/lib/components/chat/CreateGroup/ConditionsComponent.tsx +++ b/packages/uiweb/src/lib/components/chat/CreateGroup/ConditionsComponent.tsx @@ -47,7 +47,7 @@ const MoreOptionsContainer = ({ const dropdownRef = useRef(null); useClickAway(dropdownRef, () => setSelectedIndex(null)); - +console.log('in dropdown') return (
handleMoreOptionsClick(row, col)}> @@ -125,6 +125,7 @@ const ConditionsComponent = ({ conditionData,deleteFunction,updateFunction }: Cr useClickAway(dropdownRef, () => setSelectedIndex(null)); const handleMoreOptionsClick = (row: number, col: number) => { + console.log('in click') setSelectedIndex([row, col]); };