Skip to content

Automate browser based workflows with AI

fix(SKY-10457): stop block-body clip from cutting focused input rings (#6232)

Trevor Cheungb561b560c6cf
diff --git a/skyvern-frontend/src/routes/workflows/editor/collapse/NodeBody.tsx b/skyvern-frontend/src/routes/workflows/editor/collapse/NodeBody.tsx
index c59712efa..8136d80f9 100644
--- a/skyvern-frontend/src/routes/workflows/editor/collapse/NodeBody.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/collapse/NodeBody.tsx
@@ -64,7 +64,11 @@ export function NodeBody({ children, className, style }: Props) {
className,
)}
>
- <div ref={recompositeRef} data-node-body-recomposite="">
+ {/* p-1 keeps focused-input rings/shadows off the overflow-hidden clip
+ edge so they don't render clipped (SKY-10457). Padding lives on this
+ inner wrapper, not the height-animated CollapsibleContent, so the
+ collapsed state still measures to zero. */}
+ <div ref={recompositeRef} data-node-body-recomposite="" className="p-1">
{children}
</div>
</CollapsibleContent>