From 46293bd6f41ded00496fe1527c1c1c70aab93d75 Mon Sep 17 00:00:00 2001 From: Joel Date: Fri, 21 Mar 2025 10:56:12 +0800 Subject: [PATCH] fix: click drawer outside not close --- web/app/components/base/drawer/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/app/components/base/drawer/index.tsx b/web/app/components/base/drawer/index.tsx index ec5fba08ac..7e3405e9d2 100644 --- a/web/app/components/base/drawer/index.tsx +++ b/web/app/components/base/drawer/index.tsx @@ -50,6 +50,9 @@ export default function Drawer({ {/* mask */} { + !clickOutsideNotOpen && onClose() + }} />
<>