more reactive

This commit is contained in:
zmeyer44 2023-11-14 12:14:43 -05:00
parent 5abb04b6b2
commit 681ee2e143

View File

@ -48,7 +48,7 @@ export default function Container({
setExpandButton(false);
}
}
}, [contentRef.current]);
}, [contentRef.current, contentRef.current?.scrollHeight]);
if (!event) {
return (