fix: remove fixed height causing initial scroll position issue
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user