Skip to content

Commit 920d8bd

Browse files
committed
fix(ui): select dropdown obscured by header in landscape mode
Fixes #14073 This change adds a new CSS variable --z-select-menu: 35 to the global z-index system and applies it to ReactSelect menu styles. This ensures Select dropdown menus appear above the AppHeader when opening upward in landscape mobile mode. The z-index value of 35 places the dropdown between --z-modal (30) and --z-status (40), following the established z-index hierarchy.
1 parent 5bacb38 commit 920d8bd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/ui/src/elements/ReactSelect/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
}
3737

3838
.rs__menu {
39-
z-index: 4;
39+
z-index: var(--z-select-menu);
4040
border-radius: 0;
4141
@include shadow-lg;
4242
background: var(--theme-input-bg);

packages/ui/src/scss/app.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
--z-popup: 10;
3535
--z-nav: 20;
3636
--z-modal: 30;
37+
--z-select-menu: 35;
3738
--z-status: 40;
3839

3940
--accessibility-outline: 2px solid var(--theme-text);

0 commit comments

Comments
 (0)