mirror of
https://git.mirrors.martin98.com/https://github.com/bytedance/deer-flow
synced 2025-08-20 21:39:16 +08:00
revert: scroll container display change (#258)
This commit is contained in:
parent
d14fb262ea
commit
fcbc7f1118
@ -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 && (
|
||||
|
Loading…
x
Reference in New Issue
Block a user