mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-23 04:04:27 +08:00
fix: notification text cannot be selected when there is a modal (#4157)
This commit is contained in:
@@ -49,6 +49,7 @@ export const Modal = (props: ModalProps) => {
|
|||||||
slots={{ backdrop: Backdrop }}
|
slots={{ backdrop: Backdrop }}
|
||||||
alignItems={transformConfig[vertical]}
|
alignItems={transformConfig[vertical]}
|
||||||
justifyContent={transformConfig[horizontal]}
|
justifyContent={transformConfig[horizontal]}
|
||||||
|
disableEnforceFocus
|
||||||
>
|
>
|
||||||
<Fade in={open}>{children}</Fade>
|
<Fade in={open}>{children}</Fade>
|
||||||
</StyledModal>
|
</StyledModal>
|
||||||
|
|||||||
Reference in New Issue
Block a user