Task attempt 7f50b862-042d-4d26-944c-0b2e318a21f4 - Final changes
This commit is contained in:
@@ -235,12 +235,12 @@ export function TaskDetailsPanel({
|
||||
}
|
||||
}, [task, isOpen]);
|
||||
|
||||
// Auto-scroll to bottom when activities change
|
||||
// Auto-scroll to bottom when activities or execution processes change
|
||||
useEffect(() => {
|
||||
if (shouldAutoScroll && scrollContainerRef.current) {
|
||||
scrollContainerRef.current.scrollTop = scrollContainerRef.current.scrollHeight;
|
||||
}
|
||||
}, [attemptActivities, shouldAutoScroll]);
|
||||
}, [attemptActivities, executionProcesses, shouldAutoScroll]);
|
||||
|
||||
// Handle scroll events to detect manual scrolling
|
||||
const handleScroll = useCallback(() => {
|
||||
|
||||
Reference in New Issue
Block a user