From fcbc7f1118abf5e20e04f47c78be4944f806054d Mon Sep 17 00:00:00 2001 From: JeffJiang Date: Wed, 28 May 2025 19:23:32 +0800 Subject: [PATCH] revert: scroll container display change (#258) --- web/src/components/deer-flow/scroll-container.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/web/src/components/deer-flow/scroll-container.tsx b/web/src/components/deer-flow/scroll-container.tsx index 83aa931..fe00d9f 100644 --- a/web/src/components/deer-flow/scroll-container.tsx +++ b/web/src/components/deer-flow/scroll-container.tsx @@ -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 (
{scrollShadow && (