diff --git a/client/src/components/labor-allocations-adjustment-edit/labor-allocations-adjustment-edit.component.jsx b/client/src/components/labor-allocations-adjustment-edit/labor-allocations-adjustment-edit.component.jsx index 0bf490db0..91f52a1fc 100644 --- a/client/src/components/labor-allocations-adjustment-edit/labor-allocations-adjustment-edit.component.jsx +++ b/client/src/components/labor-allocations-adjustment-edit/labor-allocations-adjustment-edit.component.jsx @@ -132,7 +132,13 @@ export function LaborAllocationsAdjustmentEdit({ ); return ( - setOpen(vis)} content={overlay} trigger="click"> + trigger?.parentElement || document.body} + open={open} + onOpenChange={(vis) => setOpen(vis)} + content={overlay} + trigger="click" + > {children} );