We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c3ee2d commit 6adc9bdCopy full SHA for 6adc9bd
1 file changed
src/components/gamma/modals/form-sheet/FormSheet.tsx
@@ -11,6 +11,9 @@ const styles = StyleSheet.create({
11
// We use absolute positioning so the Host view doesn't affect the layout of its siblings.
12
// Setting `top: 0` and `left: 0` explicitly anchors the view to a predictable origin,
13
// preventing it from floating at an arbitrary offset based on its position in the Element tree.
14
+ //
15
+ // IMPORTANT: "Absolute" positioning is still relative to the nearest positioned containing
16
+ // box. This anchors it to that specific container's (0,0), not the global window (0,0).
17
host: {
18
position: 'absolute',
19
top: 0,
0 commit comments