We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f772c5d commit ba2e45cCopy full SHA for ba2e45c
docs/data/material/components/material-icons/SearchIcons.js
@@ -610,11 +610,14 @@ export default function SearchIcons() {
610
itemContent={Icon(handleOpenClick)}
611
/>
612
</Grid>
613
- <DialogDetails
614
- open={!!selectedIcon}
615
- selectedIcon={dialogSelectedIcon}
616
- handleClose={handleClose}
617
- />
+ {/* Temporary fix for Dialog not closing sometimes and Backdrop stuck at opacity 0 (see issue https://github.com/mui/material-ui/issues/32286). */}
+ {selectedIcon ? (
+ <DialogDetails
+ open={!!selectedIcon}
+ selectedIcon={dialogSelectedIcon}
618
+ handleClose={handleClose}
619
+ />
620
+ ) : null}
621
622
);
623
}
0 commit comments