You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: iOS: scrolling a long draft in the composer drags the keyboard away #46426
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/mobile
Steps to reproduce
On iPhone, open a thread and type a draft longer than the composer shows (30 short lines here).
With the keyboard up and the last lines visible, drag down inside the text to scroll back toward the start. Keep dragging until your finger passes the top edge of the keyboard.
Expected behavior
Dragging inside the text scrolls the text and the keyboard stays up.
Actual behavior
The text scrolls until the finger reaches the keyboard. From there the keyboard is dragged down with the finger, the composer slides down with it, and the keyboard closes on release. You end up partway through the draft with the keyboard gone. Getting back to it takes another tap, and the next scroll closes the keyboard again.
The composer shows about four lines and sits directly above the keyboard, so almost any drag long enough to move through a long draft crosses that edge. While the keyboard is being dragged, the conversation above stays put, leaving a gap, then jumps down on release.
7 of 8 drags of 200-260 pt starting near the top of the composer closed the keyboard. The two 110 pt drags that ended above the keyboard scrolled the text and left it up.
Recording (mp4). Idle time is cut. The first drag stays inside the composer, the next two reach the keyboard.
Likely cause, from reading the source (I haven't tested a change): T3ComposerEditorView.swift L552 sets keyboardDismissMode = .interactive on the composer's own text view, so scrolling the draft is also the keyboard-dismiss gesture.
iPhone 18 Pro simulator, iOS 27.2, Release build. Short drags that stay inside the composer also scroll normally on a physical iPhone 13 mini (iOS 27.2.1); the drag into the keyboard was not captured there.
Workaround
Scroll with short drags that stay above the keyboard.
Related
#21126 reports the keyboard dismissing and reopening while editing long prompts, without a recording. This is a specific, reproducible case of it.
Activity