react-magma-dom 4.12.2-next.1 → 4.13.0-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -66,6 +66,13 @@ export interface ModalProps extends React.HTMLAttributes<HTMLDivElement> {
66
66
  * @default true
67
67
  */
68
68
  unmountOnExit?: boolean;
69
+ /**
70
+ * DOM element to portal the modal into. Defaults to `document.body`.
71
+ * Useful when the modal must render inside a specific subtree, such as
72
+ * when the parent element has been put into the browser's fullscreen mode
73
+ * (only DOM within the fullscreen element is rendered by the browser).
74
+ */
75
+ portalContainer?: HTMLElement | null;
69
76
  /**
70
77
  * @internal
71
78
  */