diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/tool-input/components/custom-tool-modal/custom-tool-modal.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/tool-input/components/custom-tool-modal/custom-tool-modal.tsx index 0dca34ea4ce..ab399baa0de 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/tool-input/components/custom-tool-modal/custom-tool-modal.tsx +++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/tool-input/components/custom-tool-modal/custom-tool-modal.tsx @@ -832,12 +832,14 @@ try { {/* - flex-none + overflow-visible opt this body out of the chrome's - scroll container: the caret-anchored EnvVar/Tag autocomplete - dropdowns are absolute-positioned inside it and must spill past - the body's bounds rather than clip against a scroll boundary. + The body is the scroll region so tall schema/code content stays inside + the modal and the footer (Next/Save) is always reachable. The EnvVar, + Tag, and schema-param autocompletes render their menus in portaled + popovers (never clipped by this scroll boundary) and anchor to a + caret-positioned element inside the editor wrapper, so the menus track + the caret as the body scrolls. */} - +