Skip to content

Commit

Permalink
CORE-1936 Update data selection drawer zIndex to modal
Browse files Browse the repository at this point in the history
The data selection drawer zIndex was less than the zIndex for dialogs
in mui v5, so this fixes it so that it's no longer hidden behind
data move or copy metadata dialogs.

Also fixed a warning about an elevation with the outlined variant.
  • Loading branch information
psarando committed Nov 22, 2023
1 parent f4c551d commit ad98ae9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/data/SelectionDrawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,10 +337,12 @@ function SelectionDrawer(props) {
onClose={onClose}
open={open}
anchor="right"
elevation={0}
PaperProps={{
variant: "outlined",
classes: { root: classes.selectionDrawer },
}}
sx={{ zIndex: "modal" }}
>
<div
style={{
Expand Down

0 comments on commit ad98ae9

Please sign in to comment.