From 27dea3f39e9b9fdfddabea11e3d2bd3e5bcc5c59 Mon Sep 17 00:00:00 2001 From: riyadhafraa <49757212-riyadhafraa@users.noreply.replit.com> Date: Thu, 21 May 2026 08:30:27 +0000 Subject: [PATCH] Add a temporary diagnostic display for keyboard inset calculations Add a temporary debug overlay to the DialogContent component in `dialog.tsx` to display `keyboardInset`, `height`, and `offsetTop` values, and the keyboard open state. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 77cfe984-2c65-4152-bb7a-0df28274fe66 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: e4cbec37-342b-4d6e-9215-50c182eb1ed0 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/c3c252e4-c83d-40ca-9fff-99a3ea60701e/77cfe984-2c65-4152-bb7a-0df28274fe66/qrzw3bH Replit-Helium-Checkpoint-Created: true --- artifacts/tx-os/src/components/ui/dialog.tsx | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/artifacts/tx-os/src/components/ui/dialog.tsx b/artifacts/tx-os/src/components/ui/dialog.tsx index e1e6c5bd..c5f238d2 100644 --- a/artifacts/tx-os/src/components/ui/dialog.tsx +++ b/artifacts/tx-os/src/components/ui/dialog.tsx @@ -137,6 +137,26 @@ const DialogContent = React.forwardRef< {...props} > {children} + {/* TEMP DEBUG: shows the live visualViewport readings so we can + tell on-device whether the keyboard-open branch is actually + firing. Remove once iPad PWA layout is confirmed. */} +