Hacky fix

This commit is contained in:
Eric Bailey
2024-02-19 14:42:09 -06:00
parent 64b8d94bb6
commit a52b840c19
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -108,7 +108,7 @@ export function Outer({
}, },
]} ]}
/> />
{children} {hasSnapPoints ? children : <View>{children}</View>}
</Context.Provider> </Context.Provider>
</BottomSheet> </BottomSheet>
</Portal> </Portal>
@@ -144,6 +144,7 @@ export function ScrollableInner({children, style}: DialogInnerProps) {
style={[ style={[
a.flex_1, // main diff is this a.flex_1, // main diff is this
a.p_xl, a.p_xl,
a.h_full,
{ {
paddingTop: 40, paddingTop: 40,
borderTopLeftRadius: 40, borderTopLeftRadius: 40,
+2 -2
View File
@@ -3,7 +3,7 @@ import {View, PressableProps} from 'react-native'
import {msg} from '@lingui/macro' import {msg} from '@lingui/macro'
import {useLingui} from '@lingui/react' import {useLingui} from '@lingui/react'
import {useTheme, atoms as a, native} from '#/alf' import {useTheme, atoms as a} from '#/alf'
import {Text} from '#/components/Typography' import {Text} from '#/components/Typography'
import {Button} from '#/components/Button' import {Button} from '#/components/Button'
@@ -41,7 +41,7 @@ export function Outer({
<Dialog.Inner <Dialog.Inner
accessibilityLabelledBy={titleId} accessibilityLabelledBy={titleId}
accessibilityDescribedBy={descriptionId} accessibilityDescribedBy={descriptionId}
style={[{width: 'auto', maxWidth: 400}, native({minHeight: 200})]}> style={[{width: 'auto', maxWidth: 400}]}>
{children} {children}
</Dialog.Inner> </Dialog.Inner>
</Context.Provider> </Context.Provider>