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 (