fix: remove fixed height causing initial scroll position issue

This commit is contained in:
Vivek R
2025-06-22 17:50:48 +05:30
parent 708b03125c
commit 7434e18157

View File

@@ -580,7 +580,7 @@ export const AgentExecution: React.FC<AgentExecutionProps> = ({
<div className="flex-1 flex flex-col min-h-0"> <div className="flex-1 flex flex-col min-h-0">
<div <div
ref={scrollContainerRef} ref={scrollContainerRef}
className="h-[600px] w-full overflow-y-auto p-6 space-y-8" className="flex-1 w-full overflow-y-auto p-6 space-y-8"
onScroll={() => { onScroll={() => {
// Mark that user has scrolled manually // Mark that user has scrolled manually
if (!hasUserScrolled) { if (!hasUserScrolled) {