The keyboard fix from 26.11.18 translated the bar on every visualViewport
resize and scroll. In Safari the address bar collapses and expands while
scrolling, iOS reports it late, and the bar slid along. The correction now
runs only in the home-screen app, only for one second after the keyboard
closes and only for gaps over 40 px; the first touch or wheel ends it. A
browser test fakes the iOS viewport and fails with the old hook.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HUc2nv7rJVU2gp3Bgtha3q