mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
feat: provide notification to bs (#7002)
upstream https://github.com/toeverything/blocksuite/pull/7101 fix AFF-1120
This commit is contained in:
@@ -37,8 +37,17 @@ export const ConfirmModal = ({
|
||||
}, [onConfirm]);
|
||||
return (
|
||||
<Modal
|
||||
contentOptions={{ className: styles.confirmModalContainer }}
|
||||
contentOptions={{
|
||||
className: styles.confirmModalContainer,
|
||||
onPointerDownOutside: e => {
|
||||
e.stopPropagation();
|
||||
onCancel?.();
|
||||
},
|
||||
}}
|
||||
width={width}
|
||||
closeButtonOptions={{
|
||||
onClick: onCancel,
|
||||
}}
|
||||
{...props}
|
||||
>
|
||||
{children ? (
|
||||
|
||||
Reference in New Issue
Block a user