Add wrapper back and fix with position static

This commit is contained in:
Eric Bailey
2025-02-25 10:56:03 -06:00
parent 29478e0b40
commit 3d8cba6af1
+14 -1
View File
@@ -125,7 +125,20 @@ export function Outer({
}, },
]}> ]}>
<Backdrop /> <Backdrop />
{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.
*/}
<View
style={[
a.w_full,
a.z_20,
a.align_center,
web({minHeight: '60vh', position: 'static'}),
]}>
{children}
</View>
</View> </View>
</TouchableWithoutFeedback> </TouchableWithoutFeedback>
</Context.Provider> </Context.Provider>