From eb416527369f9f324591ea2f467d4858efe9773d Mon Sep 17 00:00:00 2001 From: Abhinav Date: Thu, 18 May 2023 13:56:54 +0530 Subject: [PATCH] use suggested https://github.com/mui/material-ui/issues/32286#issuecomment-1287951109 patch until issue is fixed --- apps/photos/src/themes/components.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/photos/src/themes/components.ts b/apps/photos/src/themes/components.ts index a821309688..b879c836ff 100644 --- a/apps/photos/src/themes/components.ts +++ b/apps/photos/src/themes/components.ts @@ -171,6 +171,15 @@ export const getComponents = ( }, }, }, + MuiModal: { + styleOverrides: { + root: { + '&:has(> div[style*="opacity: 0"])': { + pointerEvents: 'none', + }, + }, + }, + }, }); const getDropShadowStyle = (shadows: Shadow[]) => {