Skip to content

FIX: Repair mobile chat responsiveness#2226

Open
romanlutz wants to merge 2 commits into
microsoft:mainfrom
romanlutz:romanlutz-fix-mobile-chat-layout
Open

FIX: Repair mobile chat responsiveness#2226
romanlutz wants to merge 2 commits into
microsoft:mainfrom
romanlutz:romanlutz-fix-mobile-chat-layout

Conversation

@romanlutz

Copy link
Copy Markdown
Contributor

Description

At 390x844, opening Attack Conversations left only about 50px for chat, while wide media previews overflowed their message bubbles and forced horizontal scrolling. This change preserves a usable chat surface on narrow screens without changing the desktop workflow.

  • Render Attack Conversations as a Fluent UI modal end drawer at 600px and below, while retaining the 280px inline panel on desktop.
  • Keep historical mobile drawers closed until requested, close them after conversation selection or creation, and restore focus to the toggle after dismissal.
  • Constrain image, video, and audio previews to the available message-bubble width while preserving aspect ratios and desktop size caps.
  • Add accessible drawer state wiring and responsive component and browser regression coverage.

Conversation panel at 390x844

Before After
Conversation panel squeezing chat Conversation panel rendered as an overlay drawer

Image message at 390x844

Before After
Image message clipped on mobile Image message contained within the mobile chat

Tests and Documentation

  • TypeScript type-check passed.
  • Targeted ESLint passed for all changed frontend files.
  • ChatWindow and MessageList Jest suites passed: 128 tests.
  • Targeted Playwright tests passed for the mobile drawer, responsive image, and responsive audio flows.
  • Documentation: N/A; no public API or workflow documentation changed.
  • JupyText: N/A; no documentation notebooks changed.

Copilot AI added 2 commits July 17, 2026 15:53
Render conversations as a mobile overlay and constrain message media to the available bubble width.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: e0675e40-9aa0-4f64-b720-ef2e6c17bd8b
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