Conversation
|
We require contributors to sign our Contributor License Agreement, and we don't have you on file. In order for us to review and merge your code, please contact @crawshaw at david@bold.dev to get yourself added. |
Implemented with AI assistance.
swaroopch
force-pushed
the
mobile-keyboard-input
branch
from
September 15, 2026 18:23
d183384 to
a872112
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Keep the chat input visible above Android Chrome's software keyboard by adding
interactive-widget=resizes-contentto the page's viewport policy.The app has a full-height layout. When opening the keyboard only shrinks the visual viewport, the textarea can remain underneath the keyboard even while its toolbar is visible. Requesting a layout-viewport resize lets the existing flex layout keep the composer on-screen, without new JavaScript keyboard-height estimates or resize listeners.
This PR contains only the keyboard fix, regression tests, and documentation. It does not include file completion or fork maintenance/deployment changes. Browsers that do not implement the directive retain their existing behavior; this is not a claim of a Safari keyboard fix.
Before / after (real Android phone)
Screenshots are cropped to the composer and keyboard to omit private conversation details. The hostname in the before image is blurred. The captures use different themes. Image assets live in the fork, not in this PR's code diff.
Recreation prompt
If you prefer to implement the intent independently rather than reuse this diff:
Validation
make build-customandgo test ./server -parallel 1passed.A manual device checklist is included in
MOBILE_KEYBOARD_INPUT.md.