more reactive
This commit is contained in:
parent
5abb04b6b2
commit
681ee2e143
@ -48,7 +48,7 @@ export default function Container({
|
||||
setExpandButton(false);
|
||||
}
|
||||
}
|
||||
}, [contentRef.current]);
|
||||
}, [contentRef.current, contentRef.current?.scrollHeight]);
|
||||
|
||||
if (!event) {
|
||||
return (
|
||||
|
Loading…
x
Reference in New Issue
Block a user