diff --git a/assets/js/hooks/Mapper/components/ui-kit/WindowManager/WindowManager.tsx b/assets/js/hooks/Mapper/components/ui-kit/WindowManager/WindowManager.tsx index ceda6eaa..edd790fa 100644 --- a/assets/js/hooks/Mapper/components/ui-kit/WindowManager/WindowManager.tsx +++ b/assets/js/hooks/Mapper/components/ui-kit/WindowManager/WindowManager.tsx @@ -384,6 +384,10 @@ export const WindowManager: React.FC = ({ windows: initialWi next.position.y = container.clientHeight - next.size.height - SNAP_GAP; } + if (next.position.y < 0) { + next.position.y = 0; + } + return next; }); });