Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

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

Om Rautd29514c99593
diff --git a/packages/component/src/ui/modal/modal.tsx b/packages/component/src/ui/modal/modal.tsx
index f395a2ffdf..c1ff108ae8 100644
--- a/packages/component/src/ui/modal/modal.tsx
+++ b/packages/component/src/ui/modal/modal.tsx
@@ -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>