Skip to content

fix(web): prevent PortalSelect dropdown from being obscured in dialogs 🤖🤖🤖#34351

Open
majiayu000 wants to merge 1 commit intolanggenius:mainfrom
majiayu000:codex/issue-27581-select-zindex-b1
Open

fix(web): prevent PortalSelect dropdown from being obscured in dialogs 🤖🤖🤖#34351
majiayu000 wants to merge 1 commit intolanggenius:mainfrom
majiayu000:codex/issue-27581-select-zindex-b1

Conversation

@majiayu000
Copy link
Copy Markdown
Contributor

@majiayu000 majiayu000 commented Mar 31, 2026

Summary

  • raise legacy PortalSelect popup layer to z-[1001] so dropdown options render above dialog content layers
  • add a regression test to ensure the portal popup keeps the expected overlay z-index

Why

Issue #27581 reports dropdown options being obscured when opened inside dialog contexts.
The previous z-20 layer can be lower than current dialog migration layers.

Files

  • web/app/components/base/select/index.tsx
  • web/app/components/base/select/__tests__/index.spec.tsx

Verification

  • ./node_modules/.bin/vp test run app/components/base/select/__tests__/index.spec.tsx
  • ./node_modules/.bin/vp run lint:ci app/components/base/select/index.tsx app/components/base/select/__tests__/index.spec.tsx
  • ./node_modules/.bin/vp run lint:tss
  • ./node_modules/.bin/vp run type-check

fixes #27581

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Mar 31, 2026
@github-actions github-actions bot added the web This relates to changes on the web. label Mar 31, 2026
@dosubot dosubot bot added the javascript Pull requests that update javascript code label Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

javascript Pull requests that update javascript code size:S This PR changes 10-29 lines, ignoring generated files. web This relates to changes on the web.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The content of the select dropdown box is being obscured when the dialog pop-up is modified in the already released APP.

1 participant