fix: notification text cannot be selected when there is a modal (#4157)

This commit is contained in:
Om Raut 2023-09-06 03:30:34 +05:30 committed by GitHub
parent f5c2aaf28a
commit d29514c995
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,6 +49,7 @@ export const Modal = (props: ModalProps) => {
slots={{ backdrop: Backdrop }}
alignItems={transformConfig[vertical]}
justifyContent={transformConfig[horizontal]}
disableEnforceFocus
>
<Fade in={open}>{children}</Fade>
</StyledModal>