Improve dialogs issue (#2941)
* Fix collapse, update backdrop color * Remove test prop * Remove debug code
This commit is contained in:
parent
b52a742925
commit
8a169dc6a1
2 changed files with 41 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue