From a17e9ce503fac886bb3236018ac0d1e8ed2856ff Mon Sep 17 00:00:00 2001 From: zsviczian Date: Tue, 21 Oct 2025 18:34:13 +0200 Subject: [PATCH] Set collision boundary --- packages/excalidraw/components/PropertiesPopover.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/excalidraw/components/PropertiesPopover.tsx b/packages/excalidraw/components/PropertiesPopover.tsx index 3c03c35b99..caa0650d63 100644 --- a/packages/excalidraw/components/PropertiesPopover.tsx +++ b/packages/excalidraw/components/PropertiesPopover.tsx @@ -59,6 +59,8 @@ export const PropertiesPopover = React.forwardRef< } alignOffset={-16} sideOffset={20} + collisionBoundary={container ?? undefined} + collisionPadding={8} style={{ zIndex: "var(--zIndex-ui-styles-popup)", marginLeft: device.editor.isMobile ? "0.5rem" : undefined,