Skip to content

Commit

Permalink
Merged branch bugfix/background-of-popups into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
horia141 committed Jun 16, 2024
1 parent 6d583d9 commit 8eeb2cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/webui/app/components/infra/section-actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
Paper,
Popper,
Stack,
useTheme,
} from "@mui/material";
import { Link } from "@remix-run/react";
import React, { useState } from "react";
Expand Down Expand Up @@ -289,6 +290,7 @@ function NavMultipleCompactView(props: NavMultipleViewProps) {
const [open, setOpen] = useState(false);
const anchorRef = React.useRef<HTMLDivElement>(null);
const [selectedIndex, setSelectedIndex] = React.useState(1);
const theme = useTheme();

const realActions: NavSingleDesc[] = [];
for (const action of props.action.navs) {
Expand Down Expand Up @@ -345,7 +347,8 @@ function NavMultipleCompactView(props: NavMultipleViewProps) {
</ButtonGroup>
<Popper
sx={{
zIndex: 20000,
zIndex: theme.zIndex.appBar + 1,
backgroundColor: theme.palette.background.paper
}}
open={open}
anchorEl={anchorRef.current}
Expand Down

0 comments on commit 8eeb2cf

Please sign in to comment.