Skip to content

[www] fixes download button accessibility when options are outside screen height - #1115

Open
Prathik Rao (prathikr) wants to merge 2 commits into
mainfrom
prathikrao/focused-controls-not-visible
Open

Prathik Rao (prathikr) wants to merge 2 commits into
mainfrom
prathikrao/focused-controls-not-visible

Conversation

@prathikr

Copy link
Copy Markdown
Collaborator

fixes #1020

Copilot AI balanced review requested due to automatic review settings September 17, 2026 20:26
@vercel

vercel Bot commented Sep 17, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
foundry-local Ready Ready Preview Sep 17, 2026 8:40pm UTC

Request Review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The fixed height offset can still leave focused options outside the viewport when the mobile header is expanded.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Improves keyboard accessibility by keeping dropdown options visible within the viewport.

Changes:

  • Adds a scrollable maximum height to dropdown menus.
  • Adds regression coverage for the new styling.
File summaries
File Description
www/test/accessibility.test.mjs Verifies viewport-constrained, scrollable menus.
www/src/lib/components/ui/dropdown-menu/dropdown-menu-content.svelte Constrains dropdown height and enables vertical scrolling.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread www/src/lib/components/ui/dropdown-menu/dropdown-menu-content.svelte Outdated
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.

[Supporting Platform - Foundry Local - Home]: Focused controls are not visible when the page is under normal 100% zoom under 'Home' screen.

2 participants