diff --git a/src/components/ui/Modal.tsx b/src/components/ui/Modal.tsx index dc2d8c9d..6de4862a 100644 --- a/src/components/ui/Modal.tsx +++ b/src/components/ui/Modal.tsx @@ -16,9 +16,6 @@ interface Props { export default (props: Props) => { const [state, send] = useMachine(dialog.machine({ id: createUniqueId(), - // TODO: set it to true will cause the modal closes exceptionally - // https://github.com/chakra-ui/zag/issues/596 - closeOnOutsideClick: false, })) const api = createMemo(() => dialog.connect(state, send, normalizeProps))