Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

Fix code editor scroll in expanded mode

samme-abduleee1a01a8110
diff --git a/packages/app/src/builder-ui/ui/form/fields.ts b/packages/app/src/builder-ui/ui/form/fields.ts
index 491bc3de..82ade396 100644
--- a/packages/app/src/builder-ui/ui/form/fields.ts
+++ b/packages/app/src/builder-ui/ui/form/fields.ts
@@ -989,7 +989,9 @@ async function handleExpandTextarea(
textareaWrapper.style.flex = '1';
textareaWrapper.style.display = 'flex';
textareaWrapper.style.flexDirection = 'column';
- textareaWrapper.style.overflow = 'hidden';
+ // Use 'auto' to enable scrolling when ace editor content exceeds modal height
+ // The ace editor is configured with maxLines: Infinity and height: 'auto', which means it grows to fit all content
+ textareaWrapper.style.overflow = 'auto';
// Create modal textarea
const modalTextarea = document.createElement('textarea') as TextAreaWithEditor;