Skip to content

Rebuild mobile editor as locked visual-viewport stage - #11

Open
Digidai wants to merge 1 commit into
mainfrom
cursor/mobile-stage-lock-76a9
Open

Rebuild mobile editor as locked visual-viewport stage#11
Digidai wants to merge 1 commit into
mainfrom
cursor/mobile-stage-lock-76a9

Conversation

@Digidai

@Digidai Digidai commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • replace the mobile editor layout model with a fixed visual-viewport stage (html.editor-stage + body.editor-body) and remove document-growth keyboard padding behavior
  • make .desk/.sheet/.well a stage-contained flex layout where only the textarea scrolls on mobile, while preserving desktop A4 paper and non-editor page scrolling
  • move mobile completion/hint positioning into stage-contained layout behavior, keep toast anchored inside the stage, and remove --mobile-editor-bottom-gap/--keyboard-offset
  • update viewport syncing to write --app-height from visualViewport.height (fallback innerHeight), keep mobile resize() CSS-owned, and prevent mobile keepInputVisible() from window scrolling
  • bump release version to 0.10.0 and update cache-busting asset URLs
  • refresh mobile UI tests to assert the new stage lock model and preserved desktop/completion behaviors

Testing

  • npm test
  • npm run check
Open in Web Open in Cursor 

Co-authored-by: Gene Dai <Digidai@users.noreply.github.com>
@Digidai
Digidai marked this pull request as ready for review August 17, 2026 06:05
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@cursor
cursor Bot deleted the cursor/mobile-stage-lock-76a9 branch August 17, 2026 06:06
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.

2 participants