diff options
Diffstat (limited to 'src/components/Dialog/index.tsx')
-rw-r--r-- | src/components/Dialog/index.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/Dialog/index.tsx b/src/components/Dialog/index.tsx index f30d24e6a..529535051 100644 --- a/src/components/Dialog/index.tsx +++ b/src/components/Dialog/index.tsx @@ -90,6 +90,7 @@ export function Outer({ keyboardBlurBehavior="restore" topInset={insets.top} {...sheetOptions} + snapPoints={sheetOptions.snapPoints || ['100%']} ref={sheet} index={openIndex} backgroundStyle={{backgroundColor: 'transparent'}} @@ -99,6 +100,7 @@ export function Outer({ appearsOnIndex={0} disappearsOnIndex={-1} {...props} + style={[flatten(props.style), t.atoms.bg_contrast_300]} /> )} handleIndicatorStyle={{backgroundColor: t.palette.primary_500}} @@ -117,7 +119,7 @@ export function Outer({ }, ]} /> - {hasSnapPoints ? children : <View>{children}</View>} + {children} </Context.Provider> </BottomSheet> </Portal> |