Fix bottom sheet content width on Android tablets (native-owned canvas sizing) (#11396)

This commit is contained in:
Samuel Newman
2026-09-01 17:04:08 +03:00
committed by GitHub
parent 2c60c45022
commit 35705ff8bf
13 changed files with 229 additions and 58 deletions
@@ -395,11 +395,13 @@ export function CustomFeedHeader({
) : null}
</Layout.Header.Outer>
</Layout.Center>
<Dialog.Outer control={infoControl}>
<Dialog.Outer
control={infoControl}
nativeOptions={{preventExpansion: true}}>
<Dialog.Handle />
<Dialog.ScrollableInner
label={l`Feed menu`}
style={[gtMobile ? {width: 'auto', minWidth: 450} : a.w_full]}>
style={[a.w_full, gtMobile && web({width: 'auto', minWidth: 450})]}>
<DialogInner
info={info}
likeUri={likeUri}
@@ -329,6 +329,7 @@ export function StepProfile() {
{
width: 'auto',
maxWidth: 410,
marginHorizontal: 'auto',
},
]}>
<View style={[a.align_center, {paddingTop: 20}]}>