diff --git a/.vscode/extensions.json b/.vscode/extensions.json deleted file mode 100644 index 44aa9ff60a5eff..00000000000000 --- a/.vscode/extensions.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "recommendations": [ - "editorconfig.editorconfig", - "dbaeumer.vscode-eslint", - "davidanson.vscode-markdownlint", - "esbenp.prettier-vscode", - "yoavbls.pretty-ts-errors" - ] -} diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index 05a4a78b098137..00000000000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "version": "0.2.0", - "configurations": [ - { - "type": "chrome", - "request": "launch", - "name": "Launch chrome against localhost", - "url": "http://localhost:3000", - "webRoot": "${workspaceFolder}" - }, - { - "type": "node", - "request": "launch", - "name": "Test Current File", - "program": "test/cli.js", - "args": ["${relativeFile}", "--inspecting"], - "console": "integratedTerminal", - "internalConsoleOptions": "neverOpen", - "disableOptimisticBPs": true - } - ] -} diff --git a/packages/mui-material/src/Drawer/Drawer.js b/packages/mui-material/src/Drawer/Drawer.js index 5eab914c84c5ab..3b9491de5c4753 100644 --- a/packages/mui-material/src/Drawer/Drawer.js +++ b/packages/mui-material/src/Drawer/Drawer.js @@ -44,11 +44,8 @@ const DrawerRoot = styled(Modal, { name: 'MuiDrawer', slot: 'Root', overridesResolver, -})(({ theme, ownerState }) => ({ +})(({ theme }) => ({ zIndex: (theme.vars || theme).zIndex.drawer, - ...(!ownerState.open && { - visibility: 'hidden', - }), })); const DrawerDockedRoot = styled('div', { @@ -57,12 +54,9 @@ const DrawerDockedRoot = styled('div', { slot: 'Docked', skipVariantsResolver: false, overridesResolver, -})(({ ownerState }) => ({ +})({ flex: '0 0 auto', - ...(!ownerState.open && { - visibility: 'hidden', - }), -})); +}); const DrawerPaper = styled(Paper, { name: 'MuiDrawer',