Skip to content

Only move the input bar with drags that scroll the view - #287

Merged
nathantannar4 merged 1 commit into
nathantannar4:masterfrom
vpontis:keyboard-pan-only-while-dragging
Nov 8, 2026
Merged

nathantannar4 merged 1 commit into
nathantannar4:masterfrom
vpontis:keyboard-pan-only-while-dragging

Conversation

@vpontis

@vpontis vpontis commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

KeyboardManager's pan follows every drag on the bound scroll view, assuming UIKit is interactively dismissing the keyboard alongside it. When another gesture claims the drag (a swipe-to-reply pan on a cell, or an interactive pop), the scroll view never drags, so the keyboard stays up while the input bar follows the finger down behind it, and no keyboard notification fires to bring it back.

This only moves the bar while the scroll view is dragging. A normal drag-down still dismisses the keyboard with the bar attached.

Repro: with the keyboard up, swipe right on a message (swipe to reply) and pull down into the keyboard before lifting.

@nathantannar4
nathantannar4 merged commit 6910ff5 into nathantannar4:master Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants