From 681ee2e1431690c3c99dd6c5935b2719f1c96739 Mon Sep 17 00:00:00 2001 From: zmeyer44 Date: Tue, 14 Nov 2023 12:14:43 -0500 Subject: [PATCH] more reactive --- components/KindCard/components/Container.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/KindCard/components/Container.tsx b/components/KindCard/components/Container.tsx index 5eb52f9..be873b5 100644 --- a/components/KindCard/components/Container.tsx +++ b/components/KindCard/components/Container.tsx @@ -48,7 +48,7 @@ export default function Container({ setExpandButton(false); } } - }, [contentRef.current]); + }, [contentRef.current, contentRef.current?.scrollHeight]); if (!event) { return (