From ac6a3b73971bc4ebe8088c3f6ead80ebd4154d1f Mon Sep 17 00:00:00 2001 From: Ali Date: Sat, 2 Sep 2023 16:55:15 -0400 Subject: [PATCH 1/2] Issue 29997 - Add potential fix - Look up how to make a PR - Trigger pipeline to verify fix - Check if pipeline can be run locally --- docs/data/material/components/drawers/PersistentDrawerRight.js | 1 + docs/data/material/components/drawers/PersistentDrawerRight.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/data/material/components/drawers/PersistentDrawerRight.js b/docs/data/material/components/drawers/PersistentDrawerRight.js index 245fa63fc829d6..fd1c285f72bcfd 100644 --- a/docs/data/material/components/drawers/PersistentDrawerRight.js +++ b/docs/data/material/components/drawers/PersistentDrawerRight.js @@ -131,6 +131,7 @@ export default function PersistentDrawerRight() { sx={{ width: drawerWidth, flexShrink: 0, + zIndex: !open ? -10 : null, '& .MuiDrawer-paper': { width: drawerWidth, }, diff --git a/docs/data/material/components/drawers/PersistentDrawerRight.tsx b/docs/data/material/components/drawers/PersistentDrawerRight.tsx index f4f300d84f03cd..3f6dcf8212dd42 100644 --- a/docs/data/material/components/drawers/PersistentDrawerRight.tsx +++ b/docs/data/material/components/drawers/PersistentDrawerRight.tsx @@ -135,6 +135,7 @@ export default function PersistentDrawerRight() { sx={{ width: drawerWidth, flexShrink: 0, + zIndex: !open ? -10 : null, '& .MuiDrawer-paper': { width: drawerWidth, }, From 710493bd2c54d9cf54770d3c4b48d1a9b90e1e7c Mon Sep 17 00:00:00 2001 From: Ali Date: Thu, 28 Sep 2023 12:01:19 -0400 Subject: [PATCH 2/2] replace z-index with position relative --- .../material/components/drawers/PersistentDrawerRight.js | 8 ++++++-- .../material/components/drawers/PersistentDrawerRight.tsx | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/docs/data/material/components/drawers/PersistentDrawerRight.js b/docs/data/material/components/drawers/PersistentDrawerRight.js index fd1c285f72bcfd..9272d529aabf2f 100644 --- a/docs/data/material/components/drawers/PersistentDrawerRight.js +++ b/docs/data/material/components/drawers/PersistentDrawerRight.js @@ -97,7 +97,12 @@ export default function PersistentDrawerRight() { -
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod @@ -131,7 +136,6 @@ export default function PersistentDrawerRight() { sx={{ width: drawerWidth, flexShrink: 0, - zIndex: !open ? -10 : null, '& .MuiDrawer-paper': { width: drawerWidth, }, diff --git a/docs/data/material/components/drawers/PersistentDrawerRight.tsx b/docs/data/material/components/drawers/PersistentDrawerRight.tsx index 3f6dcf8212dd42..7a46f4f67667e1 100644 --- a/docs/data/material/components/drawers/PersistentDrawerRight.tsx +++ b/docs/data/material/components/drawers/PersistentDrawerRight.tsx @@ -101,7 +101,12 @@ export default function PersistentDrawerRight() { -
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod @@ -135,7 +140,6 @@ export default function PersistentDrawerRight() { sx={{ width: drawerWidth, flexShrink: 0, - zIndex: !open ? -10 : null, '& .MuiDrawer-paper': { width: drawerWidth, },