Skip to content

Commit

Permalink
[docs] z-index added in popper when used by split button (mui#33763)
Browse files Browse the repository at this point in the history
  • Loading branch information
PunitSoniME authored and Daniel Rabe committed Nov 29, 2022
1 parent 2ca2af0 commit 3076e17
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/data/material/components/button-group/SplitButton.js
Expand Up @@ -53,6 +53,9 @@ export default function SplitButton() {
</Button>
</ButtonGroup>
<Popper
sx={{
zIndex: 1,
}}
open={open}
anchorEl={anchorRef.current}
role={undefined}
Expand Down
3 changes: 3 additions & 0 deletions docs/data/material/components/button-group/SplitButton.tsx
Expand Up @@ -59,6 +59,9 @@ export default function SplitButton() {
</Button>
</ButtonGroup>
<Popper
sx={{
zIndex: 1,
}}
open={open}
anchorEl={anchorRef.current}
role={undefined}
Expand Down

0 comments on commit 3076e17

Please sign in to comment.