Skip to content

fix(site): render change-version picker in place so it clears the dialog - #28490

Merged
matifali merged 3 commits into
release/2.36from
jakehwll/devex-780-version-picker-z-index-2.36
Aug 25, 2026
Merged

fix(site): render change-version picker in place so it clears the dialog#28490
matifali merged 3 commits into
release/2.36from
jakehwll/devex-780-version-picker-z-index-2.36

Conversation

@jakehwll

@jakehwll jakehwll commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

🤖 This PR was written by Coder Agents on behalf of Jake Howell.

Backports the DEVEX-780 fix to release/2.36. main is already fine, this is for shipped 2.36.x.

Problem

In the Change version dialog, the version picker options are unclickable, painted behind the dialog surface.

The picker uses the shared Radix Popover, which portals to document.body at z-50 (see #23374). On release/2.36 the dialog is still an @mui/material/Dialog at z-index: 1300. Two body-level portals, 50 loses to 1300, so the options render behind the dialog.

main is unaffected because #27506 moved every dialog onto Radix, but that landed after the 2.36 branch cut, so 2.36.x shipped broken.

image

Fix

Set disablePortal on the dialog's ComboboxContent so the popover renders in place instead of portalling to document.body. It stays inside the dialog's stacking context and focus trap, so it paints in front and stays accessible without a z-index magic number chained to MUI's internal 1300.

Backporting #27506 wholesale is not viable, it touches ~30 dialogs. This is the smallest scoped change.

…alog

On release/2.36 the Change version dialog is still an MUI Dialog
(z-index: 1300), while the version picker is a Radix popover that
portals to document.body at z-50. Two body-level portals means the
options paint behind the dialog surface and are unclickable
(DEVEX-780).

Bump the ComboboxContent z-index above the MUI dialog so the portalled
popover renders in front. main is unaffected: #27506 already moved all
dialogs onto Radix, but that landed after the 2.36 branch cut.
@linear-code

linear-code Bot commented Aug 24, 2026

Copy link
Copy Markdown

DEVEX-780

On release/2.36 the Change version dialog is still an MUI Dialog
(z-index: 1300), while the version picker is a Radix popover that
portals to document.body at z-50, so the options paint behind the
dialog surface and are unclickable (DEVEX-780).

Render the popover in place with disablePortal instead. It stays inside
the dialog's stacking context (so it paints in front without a magic
z-index) and inside the focus trap, which is the accessibility issue the
ticket describes. main is unaffected: #27506 already moved all dialogs
onto Radix, but that landed after the 2.36 branch cut.
@jakehwll jakehwll changed the title fix(site): raise version picker popover above the change-version dialog fix(site): render change-version picker in place so it clears the dialog Aug 24, 2026
@jakehwll
jakehwll marked this pull request as ready for review August 24, 2026 16:55
@jakehwll
jakehwll requested a review from jeremyruppel August 24, 2026 16:55

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 98aba67b36

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@matifali
matifali merged commit 281d487 into release/2.36 Aug 25, 2026
41 checks passed
@matifali
matifali deleted the jakehwll/devex-780-version-picker-z-index-2.36 branch August 25, 2026 07:49
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants