Skip to content

fix: iOS keyboard script silently fails — document.body is null in head#35

Merged
MerverliPy merged 4 commits into
mainfrom
webui-optimization-pass-01
Jul 8, 2026
Merged

fix: iOS keyboard script silently fails — document.body is null in head#35
MerverliPy merged 4 commits into
mainfrom
webui-optimization-pass-01

Conversation

@MerverliPy

Copy link
Copy Markdown
Owner

The inline visualViewport script runs in head before body exists, so document.body was always null. Fix by using document.documentElement. Also adds overflow hidden, hides tab bar when keyboard is open.

- Add interactive-widget=resizes-content to viewport meta
- Override .h-dvh with --vh (visualViewport height) when keyboard is open
- Add --kb-height padding on composer to stay above keyboard
- Scroll textarea into view on focus
@vercel

vercel Bot commented Jul 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agent-workbench-dashboard Ready Ready Preview, Comment Jul 8, 2026 4:40pm

@MerverliPy MerverliPy merged commit ca71645 into main Jul 8, 2026
1 check was pending
@MerverliPy MerverliPy deleted the webui-optimization-pass-01 branch July 8, 2026 16:36

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 agent-workbench PR Review

✅ Clean — no issues found across 0 TypeScript files

No issues found.

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.

1 participant