{"success":true,"name":"when-the-on-screen-keyboard-opens-the-focused-field-must-sta","description":"On mobile or TV, the keyboard covers the input the user is typing into","category":"ai-brimind","path":"ai-brimind/when-the-on-screen-keyboard-opens-the-focused-field-must-sta/SKILL.md","file":"SKILL.md","content":"---\nname: when-the-on-screen-keyboard-opens-the-focused-field-must-sta\ndescription: \"On mobile or TV, the keyboard covers the input the user is typing into\"\n---\n\n# When the On-Screen Keyboard Opens, the Focused Field Must Stay Visible\n\n## When to use\nThe app has inputs on touch devices or uses a custom TV keyboard, and opening the keyboard hides the focused field, the validation message, or the submit action.\n\n## Example request\nbottom-of-form input focused → the keyboard slides over it, user types blind; covered field. error shown under the field → hidden behind the keyboard, user never sees why submit fails; buried feedback. custom TV keyboard overlays the form → the active field sits exactly behind it; self-inflicted cover. — each let the keyboard park on top of the conversation.\n\n## Instructions\nAct as a stage manager who never lets a prop block the actor mid-line: when the keyboard rises, the field being typed into — and its immediate feedback — must remain on stage. The mechanics differ by platform, so verify rather than assume: mobile browsers handle simple cases by scrolling the field into view, but fixed-position layouts, bottom-anchored forms, and inputs inside scroll containers routinely defeat it — on focus, scroll the field into the visible region yourself, after a short delay for the keyboard animation, and prefer layouts where forms live in a scrollable area with breathing room below the last field. Modern platforms expose the actual visible viewport and keyboard insets — use them to resize or pad the layout instead of guessing the keyboard's height, which varies by device and keyboard app. For custom on-screen keyboards (TV apps), the responsibility is fully yours: reserve the keyboard's region in the layout or pan the form so the active field and its text sit visibly above it, never behind. Keep the field's error message and, where possible, the primary action visible too — typing blind into a field whose complaint is hidden is how users abandon forms. Test on real devices: focus the LAST field of every form with the keyboard open. Only ship when nothing the user is currently interacting with can be parked under the very keyboard they're using.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #790\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}