Repository navigation
fix(ios): name keyboard enter when a dismiss refusal sees a submitting Return key - #4768
Conversation
…g Return key keyboard dismiss on iOS refuses a visible keyboard it cannot hide. On a search field the useful next step is usually Return, but the hint named only the Hide Keyboard key and a pan gesture. The refusal now reads the Return key its own status already observed and, for search, go, done and send, names keyboard enter and what it will do. Dismiss still never presses Return (#4644). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Size Report
Startup median (7 runs, lower is better):
|
Apex Sentinel · ✅ Approve · review of
|
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
|
This is ready at 2b8165a. The code looks right: the dismiss refusal now names keyboard enter for the search, go, done and send keys. All 19 checks pass at this head. Only the search key was exercised live, so go, done and send rest on the unit test. Not blocking: the new test calls |
Summary
keyboard dismisson iOS refuses a keyboard it cannot hide (keyboard_dismiss_unavailable,dispatched: no). On a search field the useful next step is usually Return, but the hint only named the Hide Keyboard key and a pan gesture, so agents retried dismiss or got stuck behind the keyboard.The refusal now reads the Return key its own status already observed. For search, go, done and send it opens with
keyboard enterand what it will do; send is explicit that it sends. Other keys keep the old hint. Dismiss still never presses Return (#4644), and no extra device read is added.4 files: runner refusal + call site, a runner unit test, and the
keyboardhelp text.Validation
keyboard dismissreturns the output above;keyboard enterthen submits andkeyboard statusreports hidden.testKeyboardDismissRefusalNamesKeyboardEnterOnlyWhereReturnEndsTheEdit; CI owns the Swift unit and iOS device lanes.check:affectednot run (host load average 300–1000); CI validates the pushed head.🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.