Skip to content

Document keyboard-visible CSS helper class#377

Merged
simonhamp merged 1 commit into
mainfrom
keyboard-css-docs
May 12, 2026
Merged

Document keyboard-visible CSS helper class#377
simonhamp merged 1 commit into
mainfrom
keyboard-css-docs

Conversation

@simonhamp
Copy link
Copy Markdown
Member

@simonhamp simonhamp commented May 12, 2026

Summary

  • Documents the previously-undocumented keyboard-visible class that NativePHP Mobile automatically toggles on <body> whenever the on-screen keyboard opens or closes (both iOS and Android)
  • Adds a new "Keyboard Visibility" section to the v3 Web View docs page with a plain CSS example and a Tailwind v4 @custom-variant example
  • Placed between Edge-to-Edge and WebView Compatibility, since responding to keyboard state pairs naturally with safe-area insets

Test plan

  • Render the page locally and confirm the new "Keyboard Visibility" section appears under /docs/mobile/3/the-basics/web-view
  • Verify the heading lands in the page sidebar / TOC
  • Sanity-check the CSS and Tailwind snippets

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@simonhamp simonhamp marked this pull request as ready for review May 12, 2026 11:36
@simonhamp simonhamp merged commit 03af031 into main May 12, 2026
2 checks passed
@simonhamp simonhamp deleted the keyboard-css-docs branch May 12, 2026 13:47
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