Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Commit

Permalink
Fix Modal not dismounted on close but stuck open at 0% opacity (#1117)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinavkgrd authored May 18, 2023
2 parents 6edec2c + eb41652 commit 1f22e0d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions apps/photos/src/themes/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,15 @@ export const getComponents = (
},
},
},
MuiModal: {
styleOverrides: {
root: {
'&:has(> div[style*="opacity: 0"])': {
pointerEvents: 'none',
},
},
},
},
});

const getDropShadowStyle = (shadows: Shadow[]) => {
Expand Down

0 comments on commit 1f22e0d

Please sign in to comment.