We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 674383b commit 42c373aCopy full SHA for 42c373a
src/components/ui/Modal.tsx
@@ -16,9 +16,6 @@ interface Props {
16
export default (props: Props) => {
17
const [state, send] = useMachine(dialog.machine({
18
id: createUniqueId(),
19
- // TODO: set it to true will cause the modal closes exceptionally
20
- // https://github.com/chakra-ui/zag/issues/596
21
- closeOnOutsideClick: false,
22
}))
23
const api = createMemo(() => dialog.connect(state, send, normalizeProps))
24
0 commit comments