mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-10-30 02:14:38 +01:00
Set collision boundary
This commit is contained in:
@@ -59,6 +59,8 @@ export const PropertiesPopover = React.forwardRef<
|
|||||||
}
|
}
|
||||||
alignOffset={-16}
|
alignOffset={-16}
|
||||||
sideOffset={20}
|
sideOffset={20}
|
||||||
|
collisionBoundary={container ?? undefined}
|
||||||
|
collisionPadding={8}
|
||||||
style={{
|
style={{
|
||||||
zIndex: "var(--zIndex-ui-styles-popup)",
|
zIndex: "var(--zIndex-ui-styles-popup)",
|
||||||
marginLeft: device.editor.isMobile ? "0.5rem" : undefined,
|
marginLeft: device.editor.isMobile ? "0.5rem" : undefined,
|
||||||
|
|||||||
Reference in New Issue
Block a user