From 7ee2feba1bf0e1177d21c8229a71f960f3910d3c Mon Sep 17 00:00:00 2001 From: r-zakarya <82443831+r-zakarya@users.noreply.github.com> Date: Fri, 21 Aug 2026 15:32:19 +0100 Subject: [PATCH] fix(android): the window shrinks for the keyboard, so forms can scroll Measured, after two fixes placed by reasoning changed nothing: focus: inner 719 visual 719 | box client 659 scroll 659 | body=on-detail Keyboard up, and both heights unchanged: the page has no way to learn the keyboard exists - visualViewport reports nothing here either. And the box shows 659 for 659 of content, so there is no overflow and nothing can scroll. The keyboard simply covers the bottom of a page that believes it still has the whole screen. So the remedy was never in the page. windowSoftInputMode="adjustResize" makes the window itself shrink; the scroll box then gets real overflow and the engine can bring the focused field into view on its own. The reserve added below the scroll area stays: it costs nothing when the window does resize (the measure is then zero), and it is the honest place for the value should a device ever report it. --- AndroidManifest.template.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/AndroidManifest.template.xml b/AndroidManifest.template.xml index 2e31e2c..d1d5a93 100644 --- a/AndroidManifest.template.xml +++ b/AndroidManifest.template.xml @@ -63,11 +63,21 @@ <%services%> +