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