Repository navigation
fix(mobile): recover android keyboard and nested scroll gestures - #766
Merged
Merged
Conversation
nixuuu
marked this pull request as ready for review
November 15, 2026 00:10
This was referenced Nov 16, 2026
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.
Android can open the IME over the floating composer without moving the latest content. Wide Markdown blocks also need to share gesture ownership with the vertical thread list. This adds JS-only recovery for settled keyboard bounds and moves Android gesture roots to each native window.
Related: #759
Related: #359
Related: #571
Recording and history
Inspected the supplied 16.05-second recording using a full 4 fps frame strip and separate keyboard/table strips. Around 0.75–1.75 s and again after 2.5 s, the keyboard covers a stationary composer and message content. The later table gestures move the feed vertically without exposing more columns. The recording cannot establish native callback delivery or exact gesture direction.
Compared git log -p and the parent of b99ac10. #759 changed the reserve, fold intent, clipping, and Android autoscroll threshold; it did not change KeyboardWindow, FloatingComposer, ChatKeyboard, or HorizontalScroll. The frame-only keyboard path dates to 49db26e (#359); the block-local gesture roots date to b6dca61 (#571). These are the code paths addressed here, but the native trigger and introducing commit for the reported failures are not confirmed. There is no evidence sufficient to label #759 as the introducing regression, so this uses Related rather than Fixes.
Verification
Outstanding acceptance
Keep this PR draft until the same installed Android Nightly native build can run this JS: check IME open/close, suggestions/emoji and IME height changes, writing visibility and latest content, fold/expand without feed displacement, horizontal/vertical drags from table text and padding, long code/diffs, and modal viewers. Repeat the existing iOS flow for parity. The fallback repairs missing animation updates; it does not change a native soft-input setting. A demonstrated need to change that setting must be reported separately.
Copy audit (§8)
No UI text changed. The change affects keyboard bounds and gesture ownership; device layout and accessibility acceptance remain open.