Hacky fix
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user