githubnext/chopinPublic

Let's compose rich plans together

Keep pinch zoom optical instead of reflowing the workspace

The workspace shell followed window.visualViewport so it could stay above the
on-screen keyboard. A pinch zoom also shrinks and moves the visual viewport, so
the app re-laid itself out inside the zoomed region and looked like page zoom.
Follow the visual viewport only at unit scale; while pinch zoomed, keep the
layout viewport and let the browser magnify it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
C5MAMaggie Appleton and Claude Opus 5.5 authored
236d809Patch
Parent6c393a1
3 files changed+56-1
StackedSplit
apps/web/src/viewport.test.ts+24 โˆ’0
apps/web/src/viewport.ts+11 โˆ’1
e2e/responsive-workspace.e2e.ts+21 โˆ’0