Skip to content

fix(mobile): polish menu shared states#207

Merged
ThisIs-Developer merged 1 commit into
mainfrom
codex/mobile-menu-live-share-polish
Jul 4, 2026
Merged

fix(mobile): polish menu shared states#207
ThisIs-Developer merged 1 commit into
mainfrom
codex/mobile-menu-live-share-polish

Conversation

@ThisIs-Developer

@ThisIs-Developer ThisIs-Developer commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • remove the extra mobile drawer scroll space caused by hidden dropdown menus contributing layout height
  • show Live Share participant avatars/count inside the mobile/tablet Live Share menu item
  • apply disabled styling and hover behavior to mobile menu actions that are disabled in shared/view-only states
  • allow Live Share hosts to create Share Snapshot links while keeping guest Live Share documents blocked

Root Cause

The global dropdown animation kept hidden dropdown menus as display: block, so the mobile language dropdown still affected drawer scroll height while invisible. The mobile Live Share action also had no participant container, mobile menu buttons did not have the disabled visual rules used by desktop toolbar buttons, and the Live Share snapshot guard blocked hosts and guests the same way.

Validation

  • Read wiki/Contributing.md before preparing the change
  • node --check script.js
  • git diff --check
  • Served locally on http://127.0.0.1:8081 and verified the drawer bottom gap dropped to normal padding with the hidden mobile language dropdown no longer contributing scroll height

@vercel

vercel Bot commented Jul 4, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
markdown-viwer Ready Ready Preview, Comment Jul 4, 2026 3:40pm

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying markdownviewer with  Cloudflare Pages  Cloudflare Pages

Latest commit: fe7b393
Status: ✅  Deploy successful!
Preview URL: https://4c5f0060.markdownviewer.pages.dev
Branch Preview URL: https://codex-mobile-menu-live-share.markdownviewer.pages.dev

View logs

@ThisIs-Developer ThisIs-Developer changed the title [codex] fix mobile menu shared states fix(mobile): polish menu shared states Jul 4, 2026
@ThisIs-Developer ThisIs-Developer marked this pull request as ready for review July 4, 2026 15:53
@ThisIs-Developer ThisIs-Developer merged commit a2e7632 into main Jul 4, 2026
5 checks passed
@ThisIs-Developer ThisIs-Developer deleted the codex/mobile-menu-live-share-polish branch July 4, 2026 15:54
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