Files
bsky-social-app/modules
Samuel Newman 32228bcdf1 fix android sheet content width on tablets via native-owned canvas sizing
on the new architecture, DialogRootViewGroup's updateNodeSize() path is a
no-op, so sheet content was laid out at full window width while material
caps the sheet frame at 640dp on tablets, clipping the content.

the native side now owns the content canvas size and pushes it into the
fabric shadow tree via ExpoView's setViewSize state channel; JS renders
unsized flex:1 content on android. the canvas width follows the dialog
container's measured width (insets + material's cap); the canvas height
is always computed natively (screen minus status bar) and must never
come from the container, whose height derives from our own content-
driven detent decisions (circular - it froze keyboard and content
growth). also fixes stale screen height on rotation while a sheet is
open. iOS is unchanged; old arch keeps the legacy updateNodeSize path.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-19 16:33:57 +03:00
..
2026-08-18 10:46:11 -04:00
2026-08-18 10:46:11 -04:00
2026-08-18 10:46:11 -04:00