Skip to content

Fix metadata modal not scrolling on desktop#936

Merged
underbluewaters merged 2 commits intomasterfrom
copilot/fix-metadata-window-scroll
May 7, 2026
Merged

Fix metadata modal not scrolling on desktop#936
underbluewaters merged 2 commits intomasterfrom
copilot/fix-metadata-window-scroll

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 7, 2026

Long metadata content was clipped on desktop — the modal panel overflowed the viewport with no way to scroll to the rest of the content.

Root cause

Modal uses sm:overflow-y-hidden on its outer wrapper to prevent page scroll on desktop, relying on the scrollable prop to opt the body div into sm:overflow-y-auto + sm:flex-1 within a max-h-[90vh] flex column. MetadataModal never passed scrollable, so content beyond the viewport was silently clipped by the panel's overflow-hidden.

Change

  • MetadataModal.tsx — add scrollable to the <Modal> render:
- <Modal loading={loading} title="" onRequestClose={onRequestClose}>
+ <Modal loading={loading} title="" scrollable onRequestClose={onRequestClose}>

Copilot AI linked an issue May 7, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Fix metadata windows to enable scrolling Fix metadata modal not scrolling on desktop May 7, 2026
Copilot AI requested a review from underbluewaters May 7, 2026 18:38
@underbluewaters underbluewaters marked this pull request as ready for review May 7, 2026 19:03
@underbluewaters underbluewaters merged commit 3aac30c into master May 7, 2026
5 of 6 checks passed
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.

Metadata windows do not scroll

2 participants