Mobile: tool-approval modal pops up over the on-screen keyboard, causing accidental denies while typing
Summary
On mobile (Claude Code mobile app), tool-approval / decision modals appear in a position that overlaps the on-screen keyboard. When the modal pops up while I'm actively typing a message, a keystroke lands on one of the modal buttons (most commonly the deny button at the top of the modal, which is roughly where the keyboard's top row sits) and silently denies the tool call.
Impact
The denial is not recoverable in-band — the assistant has to either retry the exact call or wait for me to redirect, and there's no UX cue that the deny was an accidental typing collision vs. an intentional rejection. In a session today I lost a researcher dispatch (CUSTOMER_NOTES.md edit) to this; the agent reported "edit denied" and stood by, and I had to type "edit was denied because it popped up while I was typing. try again" to get it re-attempted.
Expected behavior
The approval modal should not overlap the active input region. Options:
- Anchor the modal above the keyboard (so the keyboard remains usable and the modal buttons are clear of the typing surface)
- Suppress / queue the modal while the keyboard is open and the user is actively typing
- Require a deliberate gesture (long-press, swipe) rather than a single tap to confirm deny, when the modal opened within N ms of a keystroke
Environment
- Claude Code mobile app, 2026-05-17
- Tool-approval modals during agent dispatch flow (the case above was an
Edittool call from a sub-agent) - Platform: filer can clarify on request — bug is keyboard-overlap, likely platform-agnostic but verified on at least one mobile target today
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗