From 3d8cba6af179fb0bd82ee442449b5fe449a702dc Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 25 Feb 2025 10:56:03 -0600 Subject: [PATCH] Add wrapper back and fix with position static --- src/components/Dialog/index.web.tsx | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/components/Dialog/index.web.tsx b/src/components/Dialog/index.web.tsx index b21e246de7..a27222229d 100644 --- a/src/components/Dialog/index.web.tsx +++ b/src/components/Dialog/index.web.tsx @@ -125,7 +125,20 @@ export function Outer({ }, ]}> - {children} + {/** + * This is needed to prevent centered dialogs from overflowing + * above the screen, and provides a "natural" centering so that + * stacked dialogs appear relatively aligned. + */} + + {children} +