mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-03 14:22:13 +08:00
revert: scroll container display change (#258)
This commit is contained in:
@@ -59,14 +59,6 @@ export function ScrollContainer({
|
||||
}
|
||||
}, [autoScrollToBottom, contentRef, scrollRef]);
|
||||
|
||||
useLayoutEffect(() => {
|
||||
if (contentRef.current) {
|
||||
if (contentRef.current.parentElement) {
|
||||
contentRef.current.parentElement.style.display = "block";
|
||||
}
|
||||
}
|
||||
}, [contentRef]);
|
||||
|
||||
return (
|
||||
<div className={cn("relative", className)}>
|
||||
{scrollShadow && (
|
||||
|
||||
Reference in New Issue
Block a user