File tree 2 files changed +13
-2
lines changed
2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' braid-design-system ' : patch
3
+ ---
4
+
5
+ ---
6
+ updated:
7
+ - MenuRenderer
8
+ - OverflowMenu
9
+ ---
10
+
11
+ ** MenuRenderer, OverflowMenu:** Fixes a bug where menus could be obscured when rendered inside a ` Dialog ` or ` Drawer ` component.
Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ export const MenuRenderer = ({
363
363
dispatch ( { type : BACKDROP_CLICK } ) ;
364
364
} }
365
365
position = "fixed"
366
- zIndex = "dropdownBackdrop "
366
+ zIndex = "modal "
367
367
top = { 0 }
368
368
left = { 0 }
369
369
className = { styles . backdrop }
@@ -423,7 +423,7 @@ export function Menu({
423
423
< Box
424
424
role = "menu"
425
425
position = { position }
426
- zIndex = "dropdown "
426
+ zIndex = "modal "
427
427
boxShadow = { placement === 'top' ? 'small' : 'medium' }
428
428
borderRadius = { borderRadius }
429
429
background = "surface"
You can’t perform that action at this time.
0 commit comments