Dual-Screen & Foldable UI Engineering Principles
How modern mobile operating systems solve multi-posture ergonomics without app restarts or layout jumping.
1. Posture-Driven State Continuity
When folding from flat (180°) into tabletop (90°), content must not reload. In companion mode, media viewports automatically anchor to the top screen while controls, scrubbers, and comments cascade down to the base screen.
2. The Hinge Mask / Dead Zone
Unlike standard responsive web queries, dual-screen hardware features a physical dead-band (such as the 14mm chassis seam on the Surface Duo or the bezel on multi-chassis concepts). Text or face detection boxes must never span across the seam.
3. W3C Viewport Segments API
The standard CSS media query @media (horizontal-viewport-segments: 2) allows layout engines to read exact segment boundaries using CSS environment variables env(viewport-segment-width).