Files
kuentagym/frontend
dsantillan 0819d03efb
Publish Docker images / build (., ./web/Dockerfile, web) (push) Canceled after 0s
Publish Docker images / build (./api, ./api/Dockerfile, api) (push) Canceled after 0s
Tests / test (push) Canceled after 0s
Measure the iOS touch offset on the device that has it
Press a row on an iPhone and the one above it reacts — but only sometimes, and
only after typing. That is the shape of the keyboard displacement the app already
fights in lib/viewport-guard.js: iOS slides the *visual* viewport inside the layout
one, everything `position:fixed` is painted against the layout viewport, and the
app and the finger disagree until something scrolls. The guard stands down while a
text field has focus on purpose (touching the page there threw the keyboard back
out — issue #242), and that is precisely the window this falls into.

Which correction is right depends on numbers that only exist on the phone:
visualViewport.offsetTop, innerHeight, the scale, whether the body is pinned. So
this adds a readout instead of a guess. Open the app with `vvdebug` anywhere in the
URL, type in a field, tap the row that misbehaves, and read what the viewports were
at the moment of that tap — plus which element the browser believed was under the
finger, which is the other half of the question ("did it hit the row above, or the
row it hit is not where it is drawn?").

It renders nothing without the parameter, and removing it is this file plus one
line in App.jsx.
2026-09-21 16:07:23 -04:00
..